undici before v5.8.0 vulnerable to CRLF injection in request headers
Description
Published by the National Vulnerability Database
Jul 19, 2022
Published to the GitHub Advisory Database
Jul 21, 2022
Reviewed
Jul 21, 2022
Last updated
Jan 27, 2023
Impact
It is possible to inject CRLF sequences into request headers in Undici.
The same applies to
path
andmethod
Patches
Update to v5.8.0
Workarounds
Sanitize all HTTP headers from untrusted sources to eliminate
\r\n
.References
https://hackerone.com/reports/409943
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-12116
For more information
If you have any questions or comments about this advisory:
References