CVE-2022-31150
published 2022-07-19CVE-2022-31150: 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…
medium6.5CVSS 3.1
AVNACLPRNUINSUCLILAN
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.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | node-undici | < node-undici 5.8.0+dfsg1+~cs18.9.16-1 (bookworm) | node-undici 5.8.0+dfsg1+~cs18.9.16-1 (bookworm) |
| nodejs | undici | < v5.7.1, >= v5.8.0 | v5.7.1, >= v5.8.0 |
| nodejs | undici | < 5.8.0 | 5.8.0 |
| nodejs | undici | >= 0 < 5.8.0 | 5.8.0 |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
ghsa7.5HIGH
osv7.5HIGH