CVEvulnerability
CVE-2022-31150
6.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-07-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-93
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.
Affected configurations
• nodejs undici (< 5.8.0)
Related
Weakness · CWE (1)
- CWE-93 Improper Neutralization of CRLF Sequences weakness
References
- https://github.com/nodejs/undici/releases/tag/v5.8.0 Release Notes, Third Party Advisory
- https://github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqcc Exploit, Third Party Advisory
- https://hackerone.com/reports/409943 Exploit, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220915-0002/ Third Party Advisory
- https://github.com/nodejs/undici/releases/tag/v5.8.0 Release Notes, Third Party Advisory
- https://github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqcc Exploit, Third Party Advisory
- https://hackerone.com/reports/409943 Exploit, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220915-0002/ Third Party Advisory