CVE & CISA-KEV Catalog

CVE-2022-35948

MEDIUM
5.3
CVSS v3
NVD

Description

undici is an HTTP/1.1 client, written from scratch for Node.js.`=< [email protected]` users are vulnerable to _CRLF Injection_ on headers when using unsanitized input as request headers, more specifically, inside the `content-type` header. Example: ``` import { request } from 'undici' const unsanitizedContentTypeInput = 'application/json\r\n\r\nGET /foo2 HTTP/1.1' await request('http://localhost:3000, { method: 'GET', headers: { 'content-type': unsanitizedContentTypeInput }, }) ``` The above snippet will perform two requests in a single `request` API call: 1) `http://localhost:3000/` 2) `http://localhost:3000/foo2` This issue was patched in Undici v5.8.1. Sanitize input when sending content-type headers using user input as a workaround.

How to fix

Remediation Available
node-undiciDebian
Fixed in:5.8.2+dfsg1+~cs18.9.18.1-1CVE-2022-35948
Fixed in:5.8.2+dfsg1+~cs18.9.18.1-1CVE-2022-35948
Fixed in:5.8.2+dfsg1+~cs18.9.18.1-1CVE-2022-35948

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Exploit Intelligence

1.20%probability of exploitation in 30 days
64thpercentile

Moderate risk: more likely to be exploited than 64% of all known CVEs.

References

Exploit1
Third-Party Advisory1
Embed a live status badge for CVE-2022-35948
CVE-2022-35948 severity badge

Markdown

[![CVE-2022-35948](https://tridentstack.com/cve/badge/CVE-2022-35948.svg)](https://tridentstack.com/cve/CVE-2022-35948)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-35948"><img src="https://tridentstack.com/cve/badge/CVE-2022-35948.svg" alt="CVE-2022-35948"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.