CVE-2023-23936
Severity CVSS v4.0:
Pending analysis
Type:
CWE-74
Injection
Publication date:
16/02/2023
Last modified:
24/02/2023
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.
Impact
Base Score 3.x
5.40
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:* | 16.0.0 (including) | 16.19.1 (excluding) |
| cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:* | 18.0.0 (including) | 18.14.1 (excluding) |
| cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* | 19.0.0 (including) | 19.6.1 (excluding) |
| cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* | 2.0.0 (including) | 5.19.1 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



