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.
Remediation
References
https://github.com/nodejs/undici/releases/tag/v5.8.0
https://github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqcc
https://hackerone.com/reports/409943
https://security.netapp.com/advisory/ntap-20220915-0002/
Related Vulnerabilities
CVE-2022-2191 Vulnerability in maven package org.eclipse.jetty:jetty-server
CVE-2020-11988 Vulnerability in maven package org.apache.xmlgraphics:xmlgraphics-commons
CVE-2023-24620 Vulnerability in maven package com.esotericsoftware.yamlbeans:yamlbeans
CVE-2022-21213 Vulnerability in maven package org.webjars.npm:mout
CVE-2021-41184 Vulnerability in maven package org.webjars.bower:jquery-ui