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
1.4% (70th 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 IDSNYK-DEBIANUNSTABLE-NODEUNDICI-2959876
  • 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:unstable 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:unstable 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 Base Scores

version 3.1