CVE-2024-43406 LF Edge eKuiper has a SQL Injection in sqlKvStore

High 8.8 Published Updated

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.

PackageAffectedFixed in
github.com/lf-edge/ekuiper GoAll versions1.14.2
github.com/lf-edge/ekuiper GoAll versions1.14.2
github.com/lf-edge/ekuiper GoAll versions1.14.2
ekuiper PyPIAll versions1.14.2
ekuiper PyPIAll versions1.14.2
ekuiper PyPIAll versions1.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.

Sources

Also known as GHSA-r5ph-4jxm-6j9p, GO-2024-3078, PYSEC-2024-72.

Is CVE-2024-43406 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free