CVE-2023-23936
CRLF Injection in Nodejs ‘undici’ via host
Severity Score
5.4
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
1
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
-
*SSVC
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.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:-
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2023-01-19 CVE Reserved
- 2023-02-16 CVE Published
- 2024-08-02 CVE Updated
- 2024-08-02 First Exploit
- 2024-11-05 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 | 2024-08-02 |
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
|