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.52% (74th 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-ECHOLATEST-NODEUNDICI-18317743
  • published26 Jul 2026
  • 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 Echo:latest 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 Echo. See How to fix? for Echo:latest 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