{"answers":{"affected":"2 open source packages ship an affected version, including undici.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-38372 exists.","fix":"Upgrade undici to 6.19.2 or later.","what":"CVE-2024-38372 is a low-severity vulnerability in nodejs undici, published on 8 Jul 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-38372 and fix it if it is affected.\n\nWhat it is: CVE-2024-38372 is a low-severity vulnerability in nodejs undici, published on 8 Jul 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-38372 exists.\n\nAffected packages and fixed versions:\n- undici (npm): affected from 6.14.0; fixed in 6.19.2\n- undici (npm): affected from 6.14.0; fixed in 6.19.2\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-38372/ (Markdown: https://insights.sbomify.com/CVE-2024-38372/index.md)","id":"CVE-2024-38372","markdown":"https://insights.sbomify.com/CVE-2024-38372/index.md","name":"CVE-2024-38372","record":{"aliases":["GHSA-3g92-w8c5-73pq","ROOT-APP-NPM-CVE-2024-38372","UBUNTU-CVE-2024-38372"],"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 HTTP client may leak process memory via response.arrayBuffer(), allowing attackers to read sensitive data.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":2,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"}],"description":"Undici is an HTTP/1.1 client, written from scratch for Node.js. Depending on network and process conditions of a `fetch()` request, `response.arrayBuffer()` might include portion of memory from the Node.js process. This has been patched in v6.19.2.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Undici vulnerable to data leak when using response.arrayBuffer()","id":"CVE-2024-38372","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":2,"n_references":5,"next":{"headline":"FreeRTOS-Plus-TCP Buffer Over-Read in DNS Response Parser","id":"CVE-2024-38373"},"packages":[{"ecosystem":"npm","fixed":["6.19.2"],"introduced":["6.14.0"],"last_affected":[],"package":"undici","purl":null,"source":"GHSA-3g92-w8c5-73pq"},{"ecosystem":"npm","fixed":["6.19.2"],"introduced":["6.14.0"],"last_affected":[],"package":"undici","purl":"pkg:npm/undici","source":"GHSA-3g92-w8c5-73pq"}],"prev":{"headline":"Insufficient access control for OAuth2 Device Code flow in authentik","id":"CVE-2024-38371"},"products":["undici"],"published":"2024-07-08","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-28","vendors":["nodejs"]},"summary":"Undici HTTP client may leak process memory via response.arrayBuffer(), allowing attackers to read sensitive data.","url":"https://insights.sbomify.com/CVE-2024-38372/"}