{"answers":{"affected":"4 open source packages ship an affected version, including undici, node and node-min. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-23936 exists.","fix":"Upgrade undici to 5.19.1 or later.","what":"CVE-2023-23936 is a medium-severity vulnerability in Nodejs Node.js, published on 16 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-23936 and fix it if it is affected.\n\nWhat it is: CVE-2023-23936 is a medium-severity vulnerability in Nodejs Node.js, published on 16 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-23936 exists.\n\nAffected packages and fixed versions:\n- undici (npm): affected from 2.0.0; fixed in 5.19.1\n- undici (npm): affected from 2.0.0; fixed in 5.19.1\n- node (Bitnami): affected from 16.0.0; fixed in 16.19.1, 18.14.1, 19.6.1\n- node-min (Bitnami): affected from 16.0.0; fixed in 16.19.1, 18.14.1, 19.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-2023-23936/ (Markdown: https://insights.sbomify.com/CVE-2023-23936/index.md)","id":"CVE-2023-23936","markdown":"https://insights.sbomify.com/CVE-2023-23936/index.md","name":"CVE-2023-23936","record":{"aliases":["ALPINE-CVE-2023-23936","AZL-13604","BIT-node-2023-23936","BIT-node-min-2023-23936","CLEANSTART-2026-AU79702","CLEANSTART-2026-BN25034","DEBIAN-CVE-2023-23936","GHSA-5r9g-qh6m-jxff"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","other"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js HTTP client","requires_auth":"none","summary":"Attackers can inject CRLF characters into the host header, potentially causing HTTP request smuggling or response splitting in applications using the undici library.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"node.js","vendor":"nodejs"},{"product":"undici","vendor":"nodejs"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"},{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"description":"Undici is an HTTP/1.1 client for Node.js. Starting with version 2.0.0 and prior to version 5.19.1, the undici library does not protect `host` HTTP header from CRLF injection vulnerabilities. This issue is patched in Undici v5.19.1. As a workaround, sanitize the `headers.host` string before passing to undici.","ecosystems":["Bitnami","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":"CRLF Injection in Nodejs ‘undici’ via host","id":"CVE-2023-23936","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"nodejs:node.js","products":["nodejs:node.js","nodejs:undici"],"type":"other","year":"2023"},"n_packages":4,"n_references":4,"next":{"headline":"Missing file upload type validation in pimcore/pimcore","id":"CVE-2023-23937"},"packages":[{"ecosystem":"Bitnami","fixed":["16.19.1","18.14.1","19.6.1"],"introduced":["16.0.0","18.0.0","19.0.0"],"last_affected":[],"package":"node","purl":"pkg:bitnami/node","source":"BIT-node-2023-23936"},{"ecosystem":"Bitnami","fixed":["16.19.1","18.14.1","19.6.1"],"introduced":["16.0.0","18.0.0","19.0.0"],"last_affected":[],"package":"node-min","purl":"pkg:bitnami/node-min","source":"BIT-node-min-2023-23936"},{"ecosystem":"npm","fixed":["5.19.1"],"introduced":["2.0.0"],"last_affected":[],"package":"undici","purl":null,"source":"GHSA-5r9g-qh6m-jxff"},{"ecosystem":"npm","fixed":["5.19.1"],"introduced":["2.0.0"],"last_affected":[],"package":"undici","purl":"pkg:npm/undici","source":"GHSA-5r9g-qh6m-jxff"}],"prev":{"headline":"Presence of restricted personal Discourse messages may be leaked if tagged with a tag","id":"CVE-2023-23935"},"products":["undici"],"published":"2023-02-16","related":[{"cvss_score":9.8,"headline":"Security feature bypass in Node","id":"CVE-2023-32002","kev_date_added":null,"published":"2023-08-21"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2016-6303","kev_date_added":null,"published":"2016-09-16"},{"cvss_score":9.1,"headline":"Security feature bypass in Node.js","id":"CVE-2017-15896","kev_date_added":null,"published":"2017-12-11"},{"cvss_score":8.8,"headline":"Server-side request forgery in Node.js","id":"CVE-2018-7160","kev_date_added":null,"published":"2018-05-17"},{"cvss_score":8.1,"headline":"Misconfiguration in Node.js","id":"CVE-2018-12120","kev_date_added":null,"published":"2018-11-28"},{"cvss_score":7.9,"headline":"Path traversal in Node","id":"CVE-2024-21891","kev_date_added":null,"published":"2024-02-20"},{"cvss_score":7.9,"headline":"Path traversal in Node","id":"CVE-2024-21896","kev_date_added":null,"published":"2024-02-20"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-10","vendors":["nodejs"]},"summary":"Attackers can inject CRLF characters into the host header, potentially causing HTTP request smuggling or response splitting in applications using the undici library.","url":"https://insights.sbomify.com/CVE-2023-23936/"}