Vulnerabilities · 2022 · Nodejs
CVE-2022-31150
Nodejs Undici vulnerability
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 products
Undici. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nodejs Undici runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/nodejs/undici/releases/tag/v5.8.0 · Third Party Advisory
- github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqcc · Exploit
- hackerone.com/reports/409943 · Exploit
- security.netapp.com/advisory/ntap-20220915-0002/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-31150
- cve.org/CVERecord?id=CVE-2022-31150
More vulnerabilities in Nodejs products
CVE-2026-22036CVE-2026-21637CVE-2026-21636CVE-2025-59466CVE-2025-59465CVE-2025-59464CVE-2025-55132CVE-2025-55130All 154
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.