CVE-2023-23936
MEDIUM 5.4CVSS 3.1CRLF Injection in Nodejs ‘undici’ via host
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.
- Published
- 16 Feb 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-74CWE-93
- Also known as
- BIT-node-2023-23936BIT-node-min-2023-23936GHSA-5r9g-qh6m-jxff
- Sources
- NVDJSONOSV GHSA-5r9g-qh6m-jxffJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nodejs | node.jscpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:* |
>= 16.0.0, < 16.19.1 | 16.19.1 |
| NVD | nodejs | node.jscpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:* |
>= 18.0.0, < 18.14.1 | 18.14.1 |
| NVD | nodejs | node.jscpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* |
>= 19.0.0, < 19.6.1 | 19.6.1 |
| NVD | nodejs | undicicpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* |
>= 2.0.0, < 5.19.1 | 5.19.1 |
| OSV | npm | undici | >= 2.0.0, < 5.19.1 | 5.19.1 |
References
- https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034 · Patch, WEB
- https://github.com/nodejs/undici/releases/tag/v5.19.1 · Release Notes, WEB
- https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff · Vendor Advisory, WEB
- https://hackerone.com/reports/1820955 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-23936 · ADVISORY
- https://github.com/nodejs/undici · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 16 Feb 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 16 Feb 2023)