Vulnerability CVE-2022-31150


Published: 2022-07-19

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.

Type:

CWE-93

(Improper Neutralization of CRLF Sequences ('CRLF Injection'))

 References:
https://github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqcc
https://hackerone.com/reports/409943
https://github.com/nodejs/undici/releases/tag/v5.8.0

Copyright 2024, cxsecurity.com

 

Back to Top