Vulnerability Description
undici is an HTTP/1.1 client, written from scratch for Node.js. It is possible to inject CRLF sequences into request headers in undici in versions less than 5.7.1. A fix was released in version 5.8.0. Sanitizing all HTTP headers from untrusted sources to eliminate `\r\n` is a workaround for this issue.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nodejs | Undici | < 5.8.0 |
Related Weaknesses (CWE)
References
- https://github.com/nodejs/undici/releases/tag/v5.8.0Release NotesThird Party Advisory
- https://github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqccExploitThird Party Advisory
- https://hackerone.com/reports/409943ExploitThird Party Advisory
- https://security.netapp.com/advisory/ntap-20220915-0002/Third Party Advisory
- https://github.com/nodejs/undici/releases/tag/v5.8.0Release NotesThird Party Advisory
- https://github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqccExploitThird Party Advisory
- https://hackerone.com/reports/409943ExploitThird Party Advisory
- https://security.netapp.com/advisory/ntap-20220915-0002/Third Party Advisory
FAQ
What is CVE-2022-31150?
CVE-2022-31150 is a vulnerability with a CVSS score of 5.3 (MEDIUM). undici is an HTTP/1.1 client, written from scratch for Node.js. It is possible to inject CRLF sequences into request headers in undici in versions less than 5.7.1. A fix was released in version 5.8.0....
How severe is CVE-2022-31150?
CVE-2022-31150 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-31150?
Check the references section above for vendor advisories and patch information. Affected products include: Nodejs Undici.