CVE-2022-31150
CRLF injection in request headers
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.515% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 5.3 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Assessment source · checked 2026-11-19T12:56:32.179Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:56:32.179Z | CVE Program |
| epss | verified | 2026-11-19T16:04:33.773Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:31.685Z | OSV |
| affected | verified | 2026-11-19T12:56:32.179Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:56:32.179Z | CVE Program |
Affected versions and configuration
nodejs undici; default status: unknown: < v5.7.1, >= v5.8.0 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "nodejs",
"product": "undici",
"versions": [
{
"status": "affected",
"version": "< v5.7.1, >= v5.8.0"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqcc",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://hackerone.com/reports/409943",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/nodejs/undici/releases/tag/v5.8.0",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://security.netapp.com/advisory/ntap-20220915-0002/",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-03T07:11:39.394Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2022-31150",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-04-22T15:40:20.790408Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-04-22T17:48:45.328Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-3cvr-822r-rqcc",
"aliases": [
"CVE-2022-31150"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.8.0"
}
]
}
],
"package": {
"name": "undici",
"purl": "pkg:npm/undici",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-3cvr-822r-rqcc/GHSA-3cvr-822r-rqcc.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqcc",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31150",
"type": "ADVISORY"
},
{
"url": "https://github.com/nodejs/undici/commit/a29a151d0140d095742d21a004023d024fe93259",
"type": "WEB"
},
{
"url": "https://hackerone.com/reports/409943",
"type": "WEB"
},
{
"url": "https://github.com/nodejs/undici",
"type": "PACKAGE"
},
{
"url": "https://github.com/nodejs/undici/releases/tag/v5.8.0",
"type": "WEB"
},
{
"url": "https://security.netapp.com/advisory/ntap-20220915-0002",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-93"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2022-07-19T21:15:00Z",
"github_reviewed_at": "2022-07-21T20:30:10Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | undici | Not a distribution channel | 5.8.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:31.685ZArchived source JSON
Source publication: 2022-07-21T20:30:10.000Z
Source modification: 2023-11-08T04:09:27.728ZDocument fingerprint
5d6d75d792b516aad9918564f2547ee8b9e8538569dc2e4ae0c28391e44547c6 - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:56:32.179ZArchived source JSON
Source publication: 2022-07-19T20:40:10.000Z
Source modification: 2025-04-22T17:48:45.328ZDocument fingerprint
c788512951341b2100342768bc97f7eda47ae759892e031f4868255478769bf0 - FIRST EPSSConsulted: 2026-11-19T16:04:33.773ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
61a73aadbfc560e47e1294f3a67a7c0f50173e56af53ae885ac6a32a73b8f00f
Official status history
- UNKNOWN → PUBLISHED · · evidence