{"id":"CVE-2024-30260","published":"2024-04-04T15:15:44Z","modified":"2025-11-04T16:11:54Z","title":"Undici's Proxy-Authorization header not cleared on cross-origin redirect for dispatch, request, stream, pipeline","vendor":"nodejs","product":"undici","tier":"tail","description":{"text":"Undici is an HTTP/1.1 client, written from scratch for Node.js. Undici cleared Authorization and Proxy-Authorization headers for `fetch()`, but did not clear them for `undici.request()`. This vulnerability was patched in version(s) 5.28.4 and 6.11.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.9,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00728,"percentile":0.55105,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-m4v8-wqvr-p9f7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nodejs/undici/commit/64e3402da4e032e68de46acb52800c9a06aaea3f","tags":["x_refsource_MISC"]},{"url":"https://github.com/nodejs/undici/commit/6805746680d27a5369d7fb67bc05f95a28247d75","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P6Q4RGETHVYVHDIQGTJGU5AV6NJEI67E/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HQVHWAS6WDXXIU7F72XI55VZ2LTZUB33/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NC3V3HFZ5MOJRZDY5ZELL6REIRSPFROJ/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240905-0008/","tags":[]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":11.02},{"name":"CVSS severity","points":2.73}]},"vendorSlug":"nodejs","affectedVersions":[{"vendor":"nodejs","product":"undici","versions":["< 5.28.4",">= 6.0.0, < 6.11.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-04-05T13:43:37.003793Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"undici","vulnerableRanges":["<5.28.4",">=6.0.0, <6.11.1"],"patched":["5.28.4","6.11.1"],"from":["GHSA-m4v8-wqvr-p9f7"],"provenance":"source"}],"summary":{"text":"The flaw is in the undici HTTP/1.1 client for Node.js, where the Proxy-Authorization header is not cleared when a request made through dispatch, request, stream, or pipeline is redirected to a different origin, even though fetch() already clears it. An attacker able to induce such a cross-origin redirect (over the network, with a high-complexity condition, requiring privileges and user interaction) could cause proxy credentials to be forwarded to a host they should not reach.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:15Z"},"euvd":{"id":"EUVD-2024-1240","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nodejs-undici-cve-2022-35949","parents":[{"from":"CVE-2022-35949","to":"CVE-2024-30260","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/core/util.js"],"commits":["https://github.com/nodejs/undici/commit/124f7ebf705366b2e1844dff721928d270f87895","https://github.com/nodejs/undici/commit/64e3402da4e032e68de46acb52800c9a06aaea3f","https://github.com/nodejs/undici/commit/6805746680d27a5369d7fb67bc05f95a28247d75"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2024-30260","to":"CVE-2026-109829","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/handler/redirect-handler.js"],"commits":["https://github.com/nodejs/undici/commit/64e3402da4e032e68de46acb52800c9a06aaea3f","https://github.com/nodejs/undici/commit/6805746680d27a5369d7fb67bc05f95a28247d75","https://github.com/nodejs/undici/commit/26c2bfb3def0b67241ce878e80657ed5d6c3efa8","https://github.com/nodejs/undici/commit/b20b82ad80a405a12b6ce1f341bcd418de390aa0"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2023-45143","published":"2023-10-12","fixed":"5.26.2","kev":false},{"cve":"CVE-2024-24750","published":"2024-02-16","fixed":"6.6.1","kev":false},{"cve":"CVE-2024-24758","published":"2024-02-16","fixed":"6.6.1","kev":false,"link":{"from":"CVE-2024-24758","to":"CVE-2024-30260","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:undici","fromFixed":"5.28.3","toFixed":"5.28.4","daysApart":48},{"kind":"version-step","provenance":"source","package":"npm:undici","fromFixed":"6.6.1","toFixed":"6.11.1","daysApart":48}]}},{"cve":"CVE-2024-30260","published":"2024-04-04","fixed":"6.11.1","kev":false},{"cve":"CVE-2024-30261","published":"2024-04-04","fixed":"6.11.1","kev":false},{"cve":"CVE-2024-38372","published":"2024-07-08","fixed":"6.19.2","kev":false},{"cve":"CVE-2025-22150","published":"2025-01-21","fixed":"7.2.3","kev":false,"link":{"from":"CVE-2024-30260","to":"CVE-2025-22150","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:undici","fromFixed":"5.28.4","toFixed":"5.28.5","daysApart":292}]}}],"package":"npm:undici"}}