undici
Affected
- introduced
2.0.0, fixed5.19.1(semver)
Fixed versions
5.19.1
Fix
- Fixed version
5.19.1npm install [email protected]
Advisory
Also known as: BIT-node-2023-23936, BIT-node-min-2023-23936, CVE-2023-23936
CRLF Injection in Nodejs ‘undici’ via host
Impact
undici library does not protect host HTTP header from CRLF injection vulnerabilities.
Patches
This issue was patched in Undici v5.19.1.
Workarounds
Sanitize the headers.host string before passing to undici.
References
Reported at https://hackerone.com/reports/1820955.
Credits
Thank you to Zhipeng Zhang (@timon8) for reporting this vulnerability.
Medium Basis: The source's own band: MODERATE
2.0.0, fixed 5.19.1 (semver)5.19.1
5.19.1npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0