GHSA-f772-66g8-q5h3 · Severity: medium · Ecosystem: npm — Nodejs ‘undici’ vulnerable to CRLF Injection via Content-Type
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.
Conclusion & alert: CVE-2022-35948 is rated Exploit Available (59.7/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.20%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +1.03% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.17% | 1.20% | +1.03% |
| 2 | 2026-02-04 | 0.14% | 0.17% | +0.03% |
| 3 | 2026-02-01 | — | 0.14% | — |
Full EPSS history (16 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
GHSA-f772-66g8-q5h3 · Severity: medium · Ecosystem: npm — Nodejs ‘undici’ vulnerable to CRLF Injection via Content-Type
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2022-35948 not yet assigned priority: Debian including 1 source packages (node-undici), 4 status rows across 4 suites (bookworm, forky, sid, trixie): resolved 4. | https://security-tracker.debian.org/tracker/CVE-2022-35948 |
gentoo
|
low | CVE-2022-35948: 1 GLSA(s) (202405-29), 1 atom(s) (net-libs/nodejs); latest impact low. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-35948 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2022-35948 |
suse
|
medium | CVE-2022-35948 severity moderate: SUSE including 23 source package names (16-7.1:nodejs16-16.17.0-150400.3.6.1, 16-7.1:npm16-16.17.0-150400.3.6.1, …), 100 product×package rows across 19 product lines (Container bci/nodejs, SUSE Enterprise Storage 7, … (19 product lines)): Known Not Affected 58, Fixed 42. | https://www.suse.com/security/cve/CVE-2022-35948/ |
ubuntu
|
medium | CVE-2022-35948 medium priority: Ubuntu including 1 source packages (node-undici), 7 status rows across 7 suites (bionic, focal, jammy, kinetic, trusty, upstream, xenial): DNE 5, not-affected 1, released 1. | https://ubuntu.com/security/CVE-2022-35948 |
| URL | Tags |
|---|---|
| https://github.com/nodejs/undici/commit/66165d604fd0aee70a93ed5c44ad4cc2df395f80 | Patch Third Party Advisory |
| https://github.com/nodejs/undici/releases/tag/v5.8.2 | Release Notes Third Party Advisory |
| https://github.com/nodejs/undici/security/advisories/GHSA-f772-66g8-q5h3 | Exploit Third Party Advisory |