CVE-2023-23936
CRLF Injection in Nodejs ‘undici’ via host
4.6
MEDIUM
CVSS 3.1
EPSS 0.34%
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.
How to fix CVE-2023-23936
To remediate CVE-2023-23936, upgrade the affected package to a fixed version below.
- —upgrade to 16.19.1-r0 or later
- —upgrade to 16.19.1 or later
- —upgrade to 16.19.1 or later
- —upgrade to 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1 or later
- —upgrade to 5.19.1 or later
Is CVE-2023-23936 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0, < 16.19.1-r0
- >= 16.0.0, < 16.19.1, >= 18.0.0, < 18.14.1, >= 19.0.0, < 19.6.1
- >= 16.0.0, < 16.19.1, >= 18.0.0, < 18.14.1, >= 19.0.0, < 19.6.1
- from 0, < 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1
- >= 2.0.0, < 5.19.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |