{"answers":{"affected":"4 open source packages ship an affected version, including undici. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-24758 in the wild and no public exploit code.","fix":"Upgrade undici to a fixed version for your release line: 5.28.3 or 6.6.1.","what":"CVE-2024-24758 is a low-severity vulnerability in Nodejs Undici, published on 16 Feb 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-24758 and fix it if it is affected.\n\nWhat it is: CVE-2024-24758 is a low-severity vulnerability in Nodejs Undici, published on 16 Feb 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-24758 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- undici (npm): affected all versions; fixed in 5.28.3\n- undici (npm): affected all versions; fixed in 5.28.3\n- undici (npm): affected from 6.0.0; fixed in 6.6.1\n- undici (npm): affected from 6.0.0; fixed in 6.6.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-24758/ (Markdown: https://insights.sbomify.com/CVE-2024-24758/index.md)","id":"CVE-2024-24758","markdown":"https://insights.sbomify.com/CVE-2024-24758/index.md","name":"CVE-2024-24758","record":{"aliases":["AZL-35045","BELL-CVE-2024-24758","DEBIAN-CVE-2024-24758","GHSA-3787-6prv-h9w3","ROOT-OS-DEBIAN-12-CVE-2024-24758","UBUNTU-CVE-2024-24758"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js HTTP client","requires_auth":"high_privilege","summary":"Undici fails to clear Proxy-Authorization headers on cross-origin redirects, potentially leaking sensitive credentials to unintended destinations.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"undici","vendor":"nodejs"}],"cvss":{"score":3.9,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Undici is an HTTP/1.1 client, written from scratch for Node.js. Undici already cleared Authorization headers on cross-origin redirects, but did not clear `Proxy-Authentication` headers. This issue has been patched in versions 5.28.3 and 6.6.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Proxy-Authorization header not cleared on cross-origin redirect in fetch in Undici","id":"CVE-2024-24758","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":"nodejs:undici","products":["nodejs:undici"],"type":"information_disclosure","year":"2024"},"n_packages":4,"n_references":4,"next":{"headline":"MindsDB Vulnerable to Bypass of SSRF Protection with DNS Rebinding","id":"CVE-2024-24759"},"packages":[{"ecosystem":"npm","fixed":["5.28.3"],"introduced":["0"],"last_affected":[],"package":"undici","purl":null,"source":"GHSA-3787-6prv-h9w3"},{"ecosystem":"npm","fixed":["5.28.3"],"introduced":["0"],"last_affected":[],"package":"undici","purl":"pkg:npm/undici","source":"GHSA-3787-6prv-h9w3"},{"ecosystem":"npm","fixed":["6.6.1"],"introduced":["6.0.0"],"last_affected":[],"package":"undici","purl":null,"source":"GHSA-3787-6prv-h9w3"},{"ecosystem":"npm","fixed":["6.6.1"],"introduced":["6.0.0"],"last_affected":[],"package":"undici","purl":"pkg:npm/undici","source":"GHSA-3787-6prv-h9w3"}],"prev":{"headline":"open-irs .env Exposure","id":"CVE-2024-24757"},"products":["undici"],"published":"2024-02-16","related":[{"cvss_score":7.5,"headline":"undici WebSocket client vulnerable to Denial of Service via failed HTTP/2 handshake","id":"CVE-2026-109855","kev_date_added":null,"published":"2026-10-15"},{"cvss_score":7.5,"headline":"undici vulnerable to Denial of Service via unhandled error on excessive content-encodings","id":"CVE-2026-109869","kev_date_added":null,"published":"2026-10-15"},{"cvss_score":7.5,"headline":"undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiation","id":"CVE-2026-87018","kev_date_added":null,"published":"2026-10-15"},{"cvss_score":7.5,"headline":"undici vulnerable to Denial of Service via unrequested WebSocket subprotocol","id":"CVE-2026-19534","kev_date_added":null,"published":"2026-09-04"},{"cvss_score":7.5,"headline":"undici WebSocket client vulnerable to denial of service via fragment count bypass","id":"CVE-2026-12151","kev_date_added":null,"published":"2026-06-17"},{"cvss_score":7.5,"headline":"undici vulnerable to cross-origin request routing via SOCKS5 proxy pool reuse","id":"CVE-2026-6734","kev_date_added":null,"published":"2026-06-17"},{"cvss_score":7.5,"headline":"undici WebSocket client vulnerable to denial of service via cumulative fragment bypass","id":"CVE-2026-9675","kev_date_added":null,"published":"2026-06-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["nodejs"]},"summary":"Undici fails to clear Proxy-Authorization headers on cross-origin redirects, potentially leaking sensitive credentials to unintended destinations.","url":"https://insights.sbomify.com/CVE-2024-24758/"}