CVE-2023-23936
CRLF Injection in Nodejs ‘undici’ via host
- State
- Published
- Severity
- 6.5 Medium
- Published
- Feb 16, 2023
- Updated
- Mar 10, 2025
- Reserved
- Jan 19, 2023
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | GitHub_M |
Weaknesses
- CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection')
Affected Products
| Product | Versions |
|---|---|
undicinodejs |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.