CVE-2022-31150 PUBLISHED CVSS 5.3 MEDIUM

Reported by GitHub_M · Published July 19, 2022

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.

Risk Scores

CVSS v3.1
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected Products

VendorProductVersions
nodejsundici< v5.7.1, >= v5.8.0
nodejsundici< v5.7.1, >= v5.8.0, < v5.7.1, >= v5.8.0
npmundici0

Timeline

References

Open in Interactive Console →