Skip to main content
MEDIUM

CVE-2022-31150

CVSS v3

6.5

MEDIUM

EPSS Score

1.5 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for undici.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • undicinpmall versions · fixed in 5.8.0

Vendor advisories

  • CVE-2022-31150 Red Hat Product Security2 known affected

    nodejs16: CRLF injection in node-undici

    rhacm2/search-ui-rhel8 as a component of Red Hat Advanced Cluster Management for Kubernetes 2 · devspaces/dashboard-rhel8 as a component of Red Hat OpenShift Dev Spaces

  • RHSA-2022:6696 Red Hat Product Security221 products fixed

    Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.4.6 security update and bug fixes

Full record on NVD

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.

Technical details

Published
2022-07-19

Frequently asked questions

What is CVE-2022-31150?

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.

Is CVE-2022-31150 actively exploited?

Active exploitation of CVE-2022-31150 has not been confirmed. Its EPSS score was 1.5% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-31150?

CVE-2022-31150 has a CVSS v3 base score of 6.5 (MEDIUM severity).

Running undici? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month