CVE-2022-31150
Medium
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.
SeverityMedium
CVSS5.3
Exploit probability—
ProductNodejs Undici
PublishedJul 19, 2022
First seenJul 19, 2022
Weakness typeCWE-93CWE-93
How to fix
Update
- nodejs undici5.8.0 or later
- undici5.8.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nodejs undici | v < 5.8.0 | 5.8.0 |
| undicinpm | v < 5.8.0 | 5.8.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.