eKuiper API endpoints handling SQL queries with user-controlled table names.
lf-edge ekuiper
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/lf-edge/ekuiper/v2 Go |
|
|
| github.com/lf-edge/ekuiper Go |
| No fix yet |
| ekuiper PyPI |
lf-edge ekuiper
| Product | Affected | Fixed in |
|---|---|---|
| github.com/lf-edge/ekuiper/v2 Go |
|
|
| github.com/lf-edge/ekuiper Go |
| No fix yet |
| ekuiper PyPI |
≤ 2.1.5| No fix yet |
LF Edge eKuiper is a lightweight IoT data analytics and stream processing engine running on resource-constraint edge devices. In versions before 2.2.1, there is a critical SQL Injection vulnerability in the getLast API functionality of the eKuiper project. This flaw allows unauthenticated remote attackers to execute arbitrary SQL statements on the underlying SQLite database by manipulating the table name input in an API request. Exploitation can lead to data theft, corruption, or deletion, and full database compromise. This is fixed in version 2.2.1.
From the CVE record · GitHub_M
The getLast API is vulnerable to SQL injection through its table name input. An unauthenticated remote attacker can use an API request to execute arbitrary SQL against the underlying SQLite database, potentially stealing, corrupting, or deleting data. No user interaction is described.
Check installations of Go github.com/lf-edge/ekuiper/v2 before 2.2.1, Go github.com/lf-edge/ekuiper at or below 1.14.7, and PyPI ekuiper at or below 2.1.5.