Updated: 2025-12-12 08:04:44.910558
Description:
Undici is an HTTP/1.1 client written from scratch for Node.js. Prior to version 5.26.2, Undici already cleared Authorization headers on cross-origin redirects, but did not clear `Cookie` headers. By design, `cookie` headers are forbidden request headers, disallowing them to be set in RequestInit.headers in browser environments. Since undici handles headers more liberally than the spec, there was a disconnect from the assumptions the spec made, and undici's implementation of fetch. As such this may lead to accidental leakage of cookie to a third-party site or a malicious attacker who can control the redirection target (ie. an open redirector) to leak the cookie to the third party site. This was patched in version 5.26.2. There are no known workarounds.
| Links | NIST | CIRCL | RHEL | Ubuntu |
| Severity | Score | |
|---|---|---|
| CVSS Version 2.x | 0.0 | |
| CVSS Version 3.x | LOW | 3.5 |
| OS name | Project name | Version | Score | Severity | Status | Errata | Last updated | Statement |
|---|---|---|---|---|---|---|---|---|
| Alpine Linux 3.22 | nodejs | 14 | 3.5 | LOW | Not Vulnerable | 2025-12-19 11:17:54 | ||
| Alpine Linux 3.22 | nodejs | 24 | 3.5 | LOW | Not Vulnerable | 2025-12-16 17:04:17 | ||
| Alpine Linux 3.22 | nodejs | 20 | 3.5 | LOW | Needs Triage | 2025-12-12 08:11:02 | ||
| Alpine Linux 3.22 | nodejs | 16 | 3.5 | LOW | Needs Triage | 2025-12-12 08:10:56 | ||
| Alpine Linux 3.22 | nodejs | 18 | 3.5 | LOW | Needs Triage | 2025-12-12 08:10:59 | ||
| Alpine Linux 3.22 | nodejs | 23 | 3.5 | LOW | Not Vulnerable | 2025-12-16 17:04:20 | ||
| Alpine Linux 3.22 | nodejs | 22 | 3.5 | LOW | Not Vulnerable | 2025-12-16 17:04:17 | ||
| Alpine Linux 3.22 | nodejs | 12 | 3.5 | LOW | Not Vulnerable | 2025-12-19 11:17:54 | ||
| Debian 10 | nodejs | 16 | 3.5 | LOW | Released | CLSA-2025:1766614923 | 2025-12-24 23:16:34 | |
| Debian 10 | nodejs | 20 | 3.5 | LOW | Not Vulnerable | 2025-12-16 17:04:22 |