CRLF Injection Affecting nodejs16 package, versions <16.17.0-150300.7.9.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

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-SLES153-NODEJS16-3021721
  • published13 Sept 2022
  • disclosed12 Sept 2022

Introduced: 12 Sep 2022

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

How to fix?

Upgrade SLES:15.3 nodejs16 to version 16.17.0-150300.7.9.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs16 package and not the nodejs16 package as distributed by SLES. See How to fix? for SLES:15.3 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