Undici v2.0.0-5.19.0: CRLF Host Header Injection Vulnerability
CVE-2023-23936 Published on February 16, 2023
CRLF Injection in Nodejs ‘undici’ via host
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 Analysis
CVE-2023-23936 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. An automatable proof of concept (POC) exploit exists. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality and integrity, and no impact on availability.
Weakness Type
What is a CRLF Injection Vulnerability?
The software uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.
CVE-2023-23936 has been classified to as a CRLF Injection vulnerability or weakness.
Products Associated with CVE-2023-23936
stack.watch emails you whenever new vulnerabilities are published in nodejs Undici or nodejs node.js. Just hit a watch button to start following.
Affected Versions
nodejs undici Version >=2.0.0, < 5.19.1 is affected by CVE-2023-23936Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.