CVE-2023-23936

CWE-93CWE-748 documents7 sources
Severity
5.4MEDIUM
EPSS
0.5%
top 32.53%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedFeb 16

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:N/S:U/C:L/I:L/A:NExploitability: 3.9 | Impact: 2.5

Affected Packages5 packages

NVDnodejs/undici2.0.05.19.1
Debiannode-undici< 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1+2
CVEListV5nodejs/undici>=2.0.0, < 5.19.1
npmundici2.0.05.19.1
NVDnodejs/node.js16.0.016.19.1+2

Patches

🔴Vulnerability Details

4
OSV
CVE-2023-23936: Undici is an HTTP/12023-02-16
CVEList
CRLF Injection in Nodejs ‘undici’ via host2023-02-16
GHSA
CRLF Injection in Nodejs ‘undici’ via host2023-02-16
OSV
CRLF Injection in Nodejs ‘undici’ via host2023-02-16

📋Vendor Advisories

3
Red Hat
Node.js: Fetch API did not protect against CRLF injection in host headers2023-02-16
Microsoft
CRLF Injection in Nodejs ‘undici’ via host2023-02-14
Debian
CVE-2023-23936: node-undici - Undici is an HTTP/1.1 client for Node.js. Starting with version 2.0.0 and prior ...2023
CVE-2023-23936 (MEDIUM CVSS 5.4) | Undici is an HTTP/1.1 client for No | cvebase.io