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.
References (4)
Core 4
Core References
Vendor Advisory x_refsource_confirm
https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff
Patch x_refsource_misc
https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034
Exploit, Third Party Advisory x_refsource_misc
https://hackerone.com/reports/1820955
Release Notes x_refsource_misc
https://github.com/nodejs/undici/releases/tag/v5.19.1
Scores
CVSS v3
6.5
EPSS
0.0113
EPSS Percentile
62.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-93
CWE-74
Status
published
Products (4)
nodejs/node.js
16.0.0 - 16.19.1
nodejs/node.js
19.0.0 - 19.6.1
nodejs/undici
2.0.0 - 5.19.1
npm/undici
2.0.0 - 5.19.1npm
Published
Feb 16, 2023
Tracked Since
Feb 18, 2026