Vulnerability in Node.js
CVE-2023-23936
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.
Vulnerability class: CRLF Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.011 (65.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 65th percentile — 65.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: 0.000
Affected products
- Node.js
- Node.js Undici — versions >=2.0.0, < 5.19.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff (Vendor Advisory)
- github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034 (Patch)
- hackerone.com/reports/1820955 (Exploit, Third Party Advisory)
- github.com/nodejs/undici/releases/tag/v5.19.1 (Release Notes)
Frequently asked questions
- What is CVE-2023-23936?
- CVE-2023-23936 is a medium-severity vulnerability in Node.js, classified under CRLF Injection. CVSS score: 6.5/10. Published 2023-02-16.
- How severe is CVE-2023-23936?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2023-23936 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.