{"schema":"threatline.record/2","record":{"id":"CVE-2026-84947","aliases":["GHSA-2gqq-gqf2-x968"],"summary":"undici vulnerable to response truncation via oversized chunked responses in the dump interceptor","details":"### Impact\n\nundici's `interceptors.dump()` reads and discards response bodies up to a configurable `maxSize`. When a response declares a `Content-Length` that exceeds `maxSize`, the request is aborted cleanly. When a response is sent chunked (no `Content-Length`) and its body exceeds `maxSize`, it is not aborted: the interceptor ends the response early once the accumulated size reaches `maxSize`, and continued delivery from the parser triggers an internal assertion that is caught and turned into a request abort and connection tear-down. The application observes a misleading `200` with an empty or truncated body while the connection is disconnected. Any application using the dump interceptor against untrusted or misbehaving upstreams is affected.\n\n### Patches\n\nUpgrade to `7.29.1` or `8.10.2`. The dump interceptor now enforces `maxSize` on both the declared and the received body size, aborting the request with a `RequestAbortedError` instead of returning a truncated response.\n\n### Workarounds\n\nNone. Avoid using `interceptors.dump()` with untrusted upstreams until upgraded.","categories":["Libraries & packages"],"product":"undici","vendor":"undici","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-2gqq-gqf2-x968","source_modified_at":"2026-09-29T18:18:52Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"undici"},"range":">= 7.1.0, < 7.29.1"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-2gqq-gqf2-x968","source_modified_at":"2026-09-29T18:18:52Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"undici"},"range":">= 8.0.0, < 8.10.2"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-84947","source_modified_at":"2026-09-04T18:35:25.824Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"undici","vendor":"undici","versions":[{"versionType":"semver","status":"affected","version":"7.1.0","lessThan":"7.29.1"},{"versionType":"semver","status":"unaffected","version":"7.29.1"},{"versionType":"semver","status":"affected","version":"8.0.0","lessThan":"8.10.2"},{"versionType":"semver","status":"unaffected","version":"8.10.2"}],"defaultStatus":"unaffected"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-2gqq-gqf2-x968","source_modified_at":"2026-09-29T18:28:11.302166457Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"undici","purl":"pkg:npm/undici"},"ranges":[{"events":[{"introduced":"7.1.0"},{"fixed":"7.29.1"}],"type":"SEMVER"}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-2gqq-gqf2-x968","source_modified_at":"2026-09-29T18:28:11.302166457Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"undici","purl":"pkg:npm/undici"},"ranges":[{"events":[{"introduced":"8.0.0"},{"fixed":"8.10.2"}],"type":"SEMVER"}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-2gqq-gqf2-x968","source_modified_at":"2026-09-29T18:18:52Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"undici"},"version":"7.29.1"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-2gqq-gqf2-x968","source_modified_at":"2026-09-29T18:18:52Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"undici"},"version":"8.10.2"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-84947","source_modified_at":"2026-09-04T18:35:25.824Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"undici","ecosystem":null},"version":"7.29.1","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-84947","source_modified_at":"2026-09-04T18:35:25.824Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"undici","ecosystem":null},"version":"8.10.2","basis":"first unaffected version stated in the CVE record"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-2gqq-gqf2-x968","source_modified_at":"2026-09-29T18:28:11.302166457Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"undici","purl":"pkg:npm/undici"},"version":"7.29.1"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-2gqq-gqf2-x968","source_modified_at":"2026-09-29T18:28:11.302166457Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"undici","purl":"pkg:npm/undici"},"version":"8.10.2"}],"cvss":3.7,"severity":"Low","kev":{"listed":false},"epss":{"probability":0.00196,"percentile":0.08868,"score_date":"2026-10-23"},"published_at":"2026-09-04T16:53:11.716Z","modified_at":"2026-09-29T18:28:11.302166457Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-2gqq-gqf2-x968","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-09-29T18:18:52Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-84947","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-09-04T18:35:25.824Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-2gqq-gqf2-x968","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-09-29T18:28:11.302166457Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-84947","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/nodejs/undici/security/advisories/GHSA-2gqq-gqf2-x968"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84947","source":"GitHub Advisory Database"},{"url":"https://github.com/nodejs/undici/commit/21693f406f0142f3504192e9f9b022dcf84782ae","source":"GitHub Advisory Database"},{"url":"https://github.com/nodejs/undici/commit/6d583124e7cf60b640097d64144ed633cc450584","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://cna.openjsf.org/security-advisories.html"},{"url":"https://github.com/nodejs/undici/releases/tag/v7.29.1","source":"GitHub Advisory Database"},{"url":"https://github.com/nodejs/undici/releases/tag/v8.10.2","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-2gqq-gqf2-x968","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-09-04T18:34:39.083543Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-09-29T18:28:11.302166457Z","content_hash":"fbe54b71320df3d9ecaabe1582a6e01c873e16d10fbd6a3ffd31811565e3f5eb"}}
