{"id":"CVE-2023-23936","state":"PUBLISHED","title":"CRLF Injection in Nodejs ‘undici’ via host","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.","publishedAt":"2023-02-16T17:30:23.968Z","updatedAt":"2025-03-10T21:10:26.495Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["nodejs undici"],"affected":[{"vendor":"nodejs","product":"undici","versions":[{"version":">=2.0.0, < 5.19.1","status":"affected"}]}],"references":["https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff","https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034","https://hackerone.com/reports/1820955","https://github.com/nodejs/undici/releases/tag/v5.19.1"],"weaknesses":["CWE-93"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/23xxx/CVE-2023-23936.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-23936","state":"PUBLISHED","datePublished":"2023-02-16T17:30:23.968Z","dateUpdated":"2025-03-10T21:10:26.495Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-01-19T21:12:31.361Z"},"containers":{"cna":{"title":"CRLF Injection in Nodejs ‘undici’ via host","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"nodejs","product":"undici","versions":[{"version":">=2.0.0, < 5.19.1","status":"affected"}]}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff","name":"https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034","name":"https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/1820955","name":"https://hackerone.com/reports/1820955","tags":["x_refsource_MISC"]},{"url":"https://github.com/nodejs/undici/releases/tag/v5.19.1","name":"https://github.com/nodejs/undici/releases/tag/v5.19.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-93","lang":"en","description":"CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-02-16T17:30:23.968Z"},"source":{"advisory":"GHSA-5r9g-qh6m-jxff","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff","name":"https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034","name":"https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://hackerone.com/reports/1820955","name":"https://hackerone.com/reports/1820955","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/nodejs/undici/releases/tag/v5.19.1","name":"https://github.com/nodejs/undici/releases/tag/v5.19.1","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T10:49:07.624Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-10T21:01:48.996014Z","id":"CVE-2023-23936","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-10T21:10:26.495Z"}}]}}}