6.5

CVE-2022-31150: CRLF injection in request headers

Modified
AliasesUBUNTU-CVE-2022-31150DEBIAN-CVE-2022-31150GHSA-3cvr-822r-rqcc
Published 19-07-2022Last modified 22-04-2025

Vulnerability summary

CVE-2022-31150 is a medium (CVSS 6.5) vulnerability in nodejs undici. EPSS estimates a 1.52% chance of exploitation in the next 30 days, higher than 74.5% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
1.52%
0%100%
Low · +0.08 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2github, reference

Advisory lineage

Upstream 0 · Downstream 4 · Related 4

Timeline

  1. 19-07-2022
    PublishedVulnerability first disclosed.
  2. 22-04-2025
    Last modifiedVulnerability information updated.

Description

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 metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

1.52%

Chance of exploitation in the next 30 days

Percentile

75%

Versus all other CVEs

30-day change

Increase +0.08 pp

From 1.43% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • githubUnverified

    Undici

    Maturity: poc

  • referenceUnverified

    Exploit Reference (hackerone.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • node-undici< 5.8.0+dfsg1+~cs18.9.16-1
Nodejs1 product
  • undici≥ v5.8.0, < v5.7.1 | < 5.8.0
Npm1 product
  • undici< 5.8.0
Ubuntu1 product
  • node-undiciAll versions (No fix recorded)

4 vendors · 4 products

References

11 links
Show all 11 references