Vulnerability in Node.js Undici
CVE-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 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.
Vulnerability class: CRLF Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.014 (72.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 72nd percentile — 72.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.014 · newest: 0.014 · change: +0.000
Affected products
- Node.js Undici — versions < v5.7.1, >= v5.8.0
Weakness classification (CWE)
References
- github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqcc (Exploit, Third Party Advisory)
- hackerone.com/reports/409943 (Exploit, Third Party Advisory)
- github.com/nodejs/undici/releases/tag/v5.8.0 (Third Party Advisory, Release Notes)
- security.netapp.com/advisory/ntap-20220915-0002/ (Third Party Advisory)
Frequently asked questions
- What is CVE-2022-31150?
- CVE-2022-31150 is a medium-severity vulnerability in Node.js Undici, classified under CRLF Injection. CVSS score: 5.3/10. Published 2022-07-19.
- How severe is CVE-2022-31150?
- Medium severity. CVSS v3 base score is 5.3 out of 10.