CRLF Injection Affecting undici package, versions <5.8.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about CRLF Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-UNDICI-2980276
  • published14 Aug 2022
  • disclosed14 Aug 2022
  • credithappyhacking-k

Introduced: 14 Aug 2022

CVE-2022-35948  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

Upgrade undici to version 5.8.2 or higher.

Overview

undici is an An HTTP/1.1 client, written from scratch for Node.js

Affected versions of this package are vulnerable to CRLF Injection when using unsanitized input as request headers (for example, inside the content-type header).

CVSS Scores

version 3.1