{"id":"GO-2026-6447","revision":null,"records":[{"revision":"e6d529d15bfa471d94d383740271f502","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-pqqc-8v73-9gg2","aliases":["CVE-2025-24979","GO-2026-6447"],"title":"LF Edge eKuiper: SSRF in External Service","description":"### Summary\nServer-side request forgery (SSRF) vulnerability in eKuiper allows an attacker with permissions to register external services or create rules to induce the eKuiper server to make requests to unintended network locations, such as internal services, loopback interfaces (localhost), or cloud metadata endpoints.\n\n### Details\nPrior to v2.4.0, eKuiper external service registrations and HTTP invocations did not validate destination IP addresses. An attacker with access to the eKuiper management API could register an external service pointing to an internal address (such as `http://127.0.0.1:9081` or other internal network services) and trigger queries using service functions (e.g. `SELECT tsschemaless(...) FROM demo`). This allows probing internal networks, leaking sensitive information (such as internal endpoints/credentials), or interacting with internal APIs accessible to the eKuiper host.\n\n### PoC\n1. Create an external service with an address pointing to an internal network / localhost:\n\n```json\n{\n  \"interfaces\": {\n    \"tsschemaless\": {\n      \"address\": \"http://127.0.0.1:9081\",\n      \"protocol\": \"rest\",\n      \"options\": {\n        \"insecureSkipVerify\": true,\n        \"headers\": {\n          \"Accept-Charset\": \"utf-8\"\n        }\n      },\n      \"schemaless\": true\n    }\n  }\n}\n```\n2. Load it to eKuiper and create a rule invoking it, e.g.: `SELECT tsschemaless(\"get\", \"/metadata/sources/yaml/mqtt\", *) FROM demo`.\n3. Run the rule. When data flows through the stream, the response from the internal service is retrieved and can be routed to an external sink or inspected.\n\n### Impact\nServer-Side Request Forgery (SSRF) allowing unauthorized access / probing of internal network services.\n\n### Remediation & Patches\n- **Upgrade to eKuiper >= 2.4.0**: Starting with v2.4.0, SSRF protection (`httpx.GetSSRFDialContext`) is enabled by default across HTTP clients, blocking requests to private, loopback, link-local, multicast, and unspecified IP addresses.\n\n### Workarounds (for versions < 2.4.0)\nIf unable to upgrade immediately:\n1. **Restrict Management API Access**: Restrict access to the eKuiper REST API (port 9081) and CLI using network firewalls, reverse proxies, and authentication so only trusted administrators can create or update services and rules.\n2. **Egress Network Filtering**: Use firewall / iptables rules or container network isolation to block outbound requests from eKuiper to private subnets, loopback addresses, and cloud metadata endpoints (`169.254.169.254`).\n3. **Audit Service Definitions**: Regularly review registered external services (`GET /services` or `bin/kuiper show services`) to verify target hosts.\n\n### Notes for Users Upgrading to >= 2.4.0\n- In v2.4.0 and later, `basic.enablePrivateNet` in `kuiper.yaml` defaults to `false` (blocking private network access).\n- If a developer's deployment legitimately requires eKuiper to communicate with internal REST services or private networks, they can explicitly opt in by setting `basic.enablePrivateNet: true` (or via environment variable `KUIPER__BASIC__ENABLEPRIVATENET=true`). Ensure eKuiper's API is protected before enabling this setting.\n\nReported by Alexey Kosmachev, Bi.Zone","state":0,"publishedAt":"2026-09-09T17:56:32+00:00","modifiedAt":"2026-09-17T17:40:31.1199228+00:00","affected":[{"ecosystem":"Go","name":"github.com/lf-edge/ekuiper/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.4.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/lf-edge/ekuiper/security/advisories/GHSA-pqqc-8v73-9gg2","https://github.com/lf-edge/ekuiper","https://github.com/lf-edge/ekuiper/releases/tag/v2.4.0"],"sourceUrl":"https://github.com/advisories/GHSA-pqqc-8v73-9gg2","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-pqqc-8v73-9gg2","identifiers":["GHSA-pqqc-8v73-9gg2","CVE-2025-24979","GO-2026-6447"]},"retained":false,"historicalAffected":[]},{"revision":"81fec686b7c94550afdb18e727c01387","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-6447","aliases":["CVE-2025-24979","GHSA-pqqc-8v73-9gg2"],"title":"LF Edge eKuiper: SSRF in External Service in github.com/lf-edge/ekuiper","description":"LF Edge eKuiper: SSRF in External Service in github.com/lf-edge/ekuiper","state":0,"publishedAt":"2026-09-16T16:56:22+00:00","modifiedAt":"2026-09-17T17:30:11.2583671+00:00","affected":[{"ecosystem":"Go","name":"github.com/lf-edge/ekuiper","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/lf-edge/ekuiper/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.4.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/lf-edge/ekuiper/security/advisories/GHSA-pqqc-8v73-9gg2","https://github.com/lf-edge/ekuiper/releases/tag/v2.4.0"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-6447","license":"OSV · upstream source license applies","key":"osv:GO-2026-6447","identifiers":["GO-2026-6447","CVE-2025-24979","GHSA-pqqc-8v73-9gg2"]},"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-13T07:09:48.0434594+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-13T07:09:48.0434594+00:00","lastSuccessAt":"2026-11-13T07:09:48.3275958+00:00","error":null,"lastVerifiedAt":"2026-11-13T07:09:48.3277431+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-d8fa82e95fdb59244e2f635e667ba17f0796ca0a4f1f4bb8cc31febcd660b76c-c5309b25400581525e35b5d686fde5eb801ba52451edf64385de1067c7c5e97b","complete":true,"records":424978,"lastAttemptAt":"2026-11-13T07:09:47.3634648+00:00","lastSuccessAt":"2026-11-13T06:55:18.981967+00:00","error":null,"lastVerifiedAt":"2026-11-13T07:09:47.3634648+00:00","snapshotPublishedAt":"2026-11-13T06:26:49+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-c400362982e04b6aa54109c6b458794c","complete":false,"records":13793,"lastAttemptAt":"2026-11-13T07:19:26.5908907+00:00","lastSuccessAt":"2026-11-13T07:19:26.552+00:00","error":"356 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-13T07:19:26.552+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13490,"expectedIdentifiers":13846,"failedIdentifiers":356},{"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-13T07:09:48.0434594+00:00","complete":true,"records":1123,"lastAttemptAt":"2026-11-13T07:09:48.0434594+00:00","lastSuccessAt":"2026-11-13T07:09:48.4741485+00:00","error":null,"lastVerifiedAt":"2026-11-13T07:09:48.4741489+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-dad46f90d10c4b5890012c0a64d342dc","complete":true,"records":13793,"lastAttemptAt":"2026-11-13T07:09:49.8746887+00:00","lastSuccessAt":"2026-11-13T06:18:21.149+00:00","error":null,"lastVerifiedAt":"2026-11-13T06:18:21.149+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13846,"expectedIdentifiers":13846,"failedIdentifiers":0},{"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-93e76d404e1aeb6a7e8902f5ffa06211fc86dea3b1958e297abb2668aa5e6e8c","complete":true,"records":9952,"lastAttemptAt":"2026-11-13T07:09:47.7322763+00:00","lastSuccessAt":"2026-11-12T23:19:15.5239119+00:00","error":null,"lastVerifiedAt":"2026-11-13T07:09:47.7322763+00:00","snapshotPublishedAt":"2026-11-12T23:03:02+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-4d60731753a2f72e455d1086e7203d0ef10843936dcc1cf2b45135e2caa204b0","complete":true,"records":2012,"lastAttemptAt":"2026-11-13T07:09:47.5190756+00:00","lastSuccessAt":"2026-11-12T18:16:50.7862525+00:00","error":null,"lastVerifiedAt":"2026-11-13T07:09:47.5190756+00:00","snapshotPublishedAt":"2026-11-12T17:48:11+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-20d1a8ab073a1c13ab2143dbcadb34ebb8edf1e18e16482b448513662c3d1e12","complete":true,"records":3127,"lastAttemptAt":"2026-11-13T07:09:47.8377123+00:00","lastSuccessAt":"2026-11-12T22:18:31.0338213+00:00","error":null,"lastVerifiedAt":"2026-11-13T07:09:47.8377123+00:00","snapshotPublishedAt":"2026-11-12T22:18:06+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-178522b1ccf3a779bfdc323be85feb949f35ae83fc129db130584901ae0094bb","complete":true,"records":231768,"lastAttemptAt":"2026-11-13T07:09:47.6322837+00:00","lastSuccessAt":"2026-11-13T06:57:00.764342+00:00","error":null,"lastVerifiedAt":"2026-11-13T07:09:47.6322837+00:00","snapshotPublishedAt":"2026-11-13T06:32:53+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}