{"schema_version":"1.9.0","id":"GHSA-5r9g-qh6m-jxff","published":"2023-02-16T20:46:30Z","modified":"2026-09-10T03:49:51.840716639Z","aliases":["BIT-node-2023-23936","BIT-node-min-2023-23936","CVE-2023-23936"],"summary":"CRLF Injection in Nodejs ‘undici’ via host","details":"### Impact\n\nundici library does not protect `host` HTTP header from CRLF injection vulnerabilities.\n\n### Patches\n\nThis issue was patched in Undici v5.19.1.\n\n### Workarounds\n\nSanitize the `headers.host` string before passing to undici.\n\n### References\n\nReported at https://hackerone.com/reports/1820955.\n\n### Credits\n\nThank you to Zhipeng Zhang ([@timon8](https://hackerone.com/timon8)) for reporting this vulnerability. ","affected":[{"package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"5.19.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-5r9g-qh6m-jxff/GHSA-5r9g-qh6m-jxff.json"}}],"references":[{"type":"WEB","url":"https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23936"},{"type":"WEB","url":"https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034"},{"type":"WEB","url":"https://hackerone.com/reports/1820955"},{"type":"PACKAGE","url":"https://github.com/nodejs/undici"},{"type":"WEB","url":"https://github.com/nodejs/undici/releases/tag/v5.19.1"}],"database_specific":{"cwe_ids":["CWE-74","CWE-93"],"github_reviewed":true,"github_reviewed_at":"2023-02-16T20:46:30Z","nvd_published_at":"2023-02-16T18:15:00Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"}]}