CVE-2023-23936

MEDIUMCVSS 5.4/10EPSS 1.13%

Last modified

CVE-2023-23936 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 1.13% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
5.4/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

EPSS Probability
1.13%

62.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
NodejsNode.Js>= 16.0.0, < 16.19.1
NodejsNode.Js>= 18.0.0, < 18.14.1
NodejsNode.Js>= 19.0.0, < 19.6.1
NodejsUndici>= 2.0.0, < 5.19.1

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2023-23936?
CVE-2023-23936 has a CVSS score of 5.4/10 (MEDIUM severity). The EPSS model estimates a 1.13% probability of exploitation in the next 30 days.
How do I fix CVE-2023-23936?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2023-23936?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST