{"id":"CVE-2023-23936","aliases":["CVE-2023-23936","GHSA-5r9g-qh6m-jxff","BIT-NODE-2023-23936","BIT-NODE-MIN-2023-23936"],"related":[],"kind":"vulnerability","state":"published","title":"CRLF Injection in Nodejs ‘undici’ via host","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"}],"published":"2023-02-16T17:30:23.968Z","modified":"2026-09-10T03:49:51.840Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-74","CWE-93"],"affected":[{"ranges":[{"version":">=2.0.0, < 5.19.1","status":"affected"}],"vendor":"nodejs","product":"undici","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"5.19.1"}],"ecosystem":"npm","package":"undici","purl":"pkg:npm/undici","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"16.0.0","fixed":"16.19.1"},{"status":"affected","introduced":"18.0.0","fixed":"18.14.1"},{"status":"affected","introduced":"19.0.0","fixed":"19.6.1"}],"vendor":"nodejs","product":"node.js","cpe":"cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"2.0.0","fixed":"5.19.1"}],"vendor":"nodejs","product":"undici","cpe":"cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"16.0.0","status":"affected","fixed":"16.19.1"},{"type":"semver","introduced":"18.0.0","status":"affected","fixed":"18.14.1"},{"type":"semver","introduced":"19.0.0","status":"affected","fixed":"19.6.1"}],"ecosystem":"Bitnami","package":"node","purl":"pkg:bitnami/node","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"16.0.0","status":"affected","fixed":"16.19.1"},{"type":"semver","introduced":"18.0.0","status":"affected","fixed":"18.14.1"},{"type":"semver","introduced":"19.0.0","status":"affected","fixed":"19.6.1"}],"ecosystem":"Bitnami","package":"node-min","purl":"pkg:bitnami/node-min","source":"bitnami"}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://hackerone.com/reports/1820955","tags":["advisory","exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/nodejs/undici/releases/tag/v5.19.1","tags":["article","release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23936","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/nodejs/undici","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-03-10T21:01:48.996Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-23936","url":"https://www.cve.org/CVERecord?id=CVE-2023-23936","licence":"CVE Terms of Use","modified":"2025-03-10T21:10:26.495Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5r9g-qh6m-jxff","url":"https://github.com/advisories/GHSA-5r9g-qh6m-jxff","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:51.840Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-23936","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23936","licence":"Public domain","modified":"2026-06-17T05:38:19.600Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-NODE-2023-23936","url":"https://osv.dev/vulnerability/BIT-NODE-2023-23936","licence":"Apache-2.0","modified":"2026-09-08T08:48:17.742Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-NODE-MIN-2023-23936","url":"https://osv.dev/vulnerability/BIT-NODE-MIN-2023-23936","licence":"Apache-2.0","modified":"2026-09-08T08:48:17.466Z"}],"updatedAt":"2026-11-25T22:58:22.047Z","epss":{"score":0.01141,"percentile":0.67603,"date":"2026-12-02T12:00:21.000Z"}}