First published: Tue Aug 09 2022(Updated: )
A flaw was found in the undici package. When requesting unsanitized input on content-type headers, it is possible to inject additional requests via Carriage Return/Line Feed (CRLF).
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Nodejs Undici | <5.8.2 |
A possible mitigation is to sanitize user input when sending content-type headers.
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-35948 is a vulnerability in the undici package that allows for CRLF Injection on headers when unsanitized input is used in the content-type header.
The severity of CVE-2022-35948 is medium with a severity value of 5.3.
Undici users with versions up to exclusive 5.8.2 are vulnerable to the CRLF Injection vulnerability on headers when unsanitized input is used in the content-type header.
To fix CVE-2022-35948, undici users should upgrade to version 5.8.2 or higher.
You can find more information about CVE-2022-35948 on the Red Hat Security Advisory (RHSA-2022:7276) and the official CVE page.