CVE-2023-23936
CRLF Injection in Nodejs ‘undici’ via host
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
A flaw was found in the fetch API in Node.js that did not prevent CRLF injection in the 'host' header. This issue could allow HTTP response splitting and HTTP header injection.
Node.js is a software development platform for building fast and scalable network applications in the JavaScript programming language. The package has been upgraded to a later upstream version: nodejs. Issues addressed include HTTP request smuggling, buffer overflow, bypass, crlf injection, and denial of service vulnerabilities.
CVSS Scores
SSVC
- Decision:Attend
Timeline
- 2023-01-19 CVE Reserved
- 2023-02-16 CVE Published
- 2025-03-10 CVE Updated
- 2025-03-10 First Exploit
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')
CAPEC
References (6)
URL | Tag | Source |
---|---|---|
https://github.com/nodejs/undici/releases/tag/v5.19.1 | Release Notes |
URL | Date | SRC |
---|---|---|
https://hackerone.com/reports/1820955 | 2025-03-10 |
URL | Date | SRC |
---|---|---|
https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034 | 2023-02-24 |
URL | Date | SRC |
---|---|---|
https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff | 2023-02-24 | |
https://access.redhat.com/security/cve/CVE-2023-23936 | 2023-10-09 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2172190 | 2023-10-09 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Nodejs Search vendor "Nodejs" | Node.js Search vendor "Nodejs" for product "Node.js" | >= 16.0.0 < 16.19.1 Search vendor "Nodejs" for product "Node.js" and version " >= 16.0.0 < 16.19.1" | lts |
Affected
| ||||||
Nodejs Search vendor "Nodejs" | Node.js Search vendor "Nodejs" for product "Node.js" | >= 18.0.0 < 18.14.1 Search vendor "Nodejs" for product "Node.js" and version " >= 18.0.0 < 18.14.1" | lts |
Affected
| ||||||
Nodejs Search vendor "Nodejs" | Node.js Search vendor "Nodejs" for product "Node.js" | >= 19.0.0 < 19.6.1 Search vendor "Nodejs" for product "Node.js" and version " >= 19.0.0 < 19.6.1" | - |
Affected
| ||||||
Nodejs Search vendor "Nodejs" | Undici Search vendor "Nodejs" for product "Undici" | >= 2.0.0 < 5.19.1 Search vendor "Nodejs" for product "Undici" and version " >= 2.0.0 < 5.19.1" | node.js |
Affected
|