CVE-2024-43406 LF Edge eKuiper has a SQL Injection in sqlKvStore
Attackers can execute malicious SQL queries via the Get method in sqlKvStore, potentially compromising data or executing code on edge devices.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-43406?
CVE-2024-43406 is a high-severity SQL injection vulnerability in lf-edge ekuiper, published on 20 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
LF Edge eKuiper is a lightweight IoT data analytics and stream processing engine running on resource-constraint edge devices. A user could utilize and exploit SQL Injection to allow the execution of malicious SQL query via Get method in sqlKvStore. This vulnerability is fixed in 1.14.2.
Weakness: CWE-89
Which versions are affected by CVE-2024-43406?
6 open source packages ship an affected version, including github.com/lf-edge/ekuiper and ekuiper. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/lf-edge/ekuiper Go | All versions | 1.14.2 |
github.com/lf-edge/ekuiper Go | All versions | 1.14.2 |
github.com/lf-edge/ekuiper Go | All versions | 1.14.2 |
ekuiper PyPI | All versions | 1.14.2 |
ekuiper PyPI | All versions | 1.14.2 |
ekuiper PyPI | All versions | 1.14.2 |
Products include Lfedge Ekuiper.
How do I fix CVE-2024-43406?
Upgrade github.com/lf-edge/ekuiper to 1.14.2 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2024-43406 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-43406 exists.
Other vulnerabilities in lf-edge ekuiper
Sources
Also known as GHSA-r5ph-4jxm-6j9p, GO-2024-3078, PYSEC-2024-72.