CRLF Injection Affecting node-undici package, versions <5.8.0+dfsg1+~cs18.9.16-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.17% (55th 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-DEBIAN13-NODEUNDICI-5690463
  • published24 Jul 2022
  • disclosed19 Jul 2022

Introduced: 19 Jul 2022

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

How to fix?

Upgrade Debian:13 node-undici to version 5.8.0+dfsg1+~cs18.9.16-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-undici package and not the node-undici package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.

CVSS Scores

version 3.1