CVE-2022-31150
Last modified
CVE-2022-31150 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 1.16% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nodejs | Undici | < 5.8.0 |
References
- https://github.com/nodejs/undici/releases/tag/v5.8.0Release Notes, Third Party Advisory
- https://github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqccExploit, Third Party Advisory
- https://hackerone.com/reports/409943Exploit, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220915-0002/Third Party Advisory
- https://github.com/nodejs/undici/releases/tag/v5.8.0Release Notes, Third Party Advisory
- https://github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqccExploit, Third Party Advisory
- https://hackerone.com/reports/409943Exploit, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220915-0002/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-31150?
How severe is CVE-2022-31150?
How do I fix CVE-2022-31150?
Are you affected by CVE-2022-31150?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
