Medium severity · published Feb 16, 2023
CVE-2023-23936
Undici is an HTTP/1.1 client for Node.js
5.4
CVSS
1.1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 66% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NO
Node.js · Nodejs
16.0.0 before 16.19.1; 18.0.0 before 18.14.1; 19.0.0 before 19.6.1 · source: NVD
UN
Undici · Nodejs
2.0.0 before 5.19.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-23936
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-23936
Patch
https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034
Release Notes
https://github.com/nodejs/undici/releases/tag/v5.19.1
Vendor Advisory
https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff
Exploit
https://hackerone.com/reports/1820955
More from Node.js
9.8
CVE-2026-111497
Out-of-Bounds Write in Google Brotli Decoder
7.5
CVE-2023-44487
HTTP/2 Rapid Reset Attack Vulnerability
10.0
CVE-2026-21636
A flaw in Node.js's permission model allows Unix Domain Socket (UDS) connections to bypass network restrictions when `--permission` is enabled
9.8
CVE-2026-48930
A flaw in Node.js TLS hostname handling can cause Embedded-nul hostnames can lead to silent authority rebinding due to c-string truncation in resolver bindings
9.8
CVE-2024-3566
A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly depend on the CreateProcess function when the specific…
