
CVE catalog
CVE-2023-45143
node-undici: CVE-2023-45143
- Severity
- Low · CVSS 3.9
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.37% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-undici | sid | 8.12.2+dfsg+~cs3.2.3-2 | fixed |
| Debian | node-undici | forky | 8.10.2+dfsg+~cs3.2.2-1 | fixed |
| Debian | node-undici | trixie | 7.3.0+dfsg1+~cs24.12.11-1 | fixed |
| Debian | node-undici | bookworm | 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4 | fixed |
| Debian | node-undici | bookworm-security | 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3 | fixed |
| Alpine | nodejs | 3.17 | 18.18.2-r0 | fixed |
| Alpine | nodejs | 3.18 | 18.18.2-r0 | fixed |
| Alpine | nodejs | 3.19 | 18.18.2-r0 | fixed |
| Alpine | nodejs | 3.20 | 18.18.2-r0 | fixed |
| Alpine | nodejs | 3.21 | 18.18.2-r0 | fixed |
| Alpine | nodejs | 3.22 | 18.18.2-r0 | fixed |
| Alpine | nodejs | 3.23 | 18.18.2-r0 | fixed |
| Alpine | nodejs | 3.24 | 18.18.2-r0 | fixed |
| Ubuntu | node-undici | 24.04 | 5.22.1+dfsg1+~cs20.10.10.2-1ubuntu1 | vulnerable |
| Ubuntu | node-undici | 24.04 | 5.26.3+dfsg1+~cs23.10.12-2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-undici | source | sid | 5.26.3+dfsg1+~cs23.10.12-1 | not yet assigned | Not reported | [1053879] |
| Debian | node-undici | source | forky | 5.26.3+dfsg1+~cs23.10.12-1 | not yet assigned | Not reported | [1053879] |
| Debian | node-undici | source | trixie | 5.26.3+dfsg1+~cs23.10.12-1 | not yet assigned | Not reported | [1053879] |
| Debian | node-undici | source | bookworm | 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u2 | not yet assigned | Not reported | [1053879] |
| Alpine | nodejs | apk | 3.17 | 18.18.2-r0 | Not reported | ALPINE-CVE-2023-45143 | Not reported |
| Alpine | nodejs | apk | 3.18 | 18.18.2-r0 | Not reported | ALPINE-CVE-2023-45143 | Not reported |
| Alpine | nodejs | apk | 3.19 | 18.18.2-r0 | Not reported | ALPINE-CVE-2023-45143 | Not reported |
| Alpine | nodejs | apk | 3.20 | 18.18.2-r0 | Not reported | ALPINE-CVE-2023-45143 | Not reported |
| Alpine | nodejs | apk | 3.21 | 18.18.2-r0 | Not reported | ALPINE-CVE-2023-45143 | Not reported |
| Alpine | nodejs | apk | 3.22 | 18.18.2-r0 | Not reported | ALPINE-CVE-2023-45143 | Not reported |
| Alpine | nodejs | apk | 3.23 | 18.18.2-r0 | Not reported | ALPINE-CVE-2023-45143 | Not reported |
| Alpine | nodejs | apk | 3.24 | 18.18.2-r0 | Not reported | ALPINE-CVE-2023-45143 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://access.redhat.com/errata/RHSA-2023:5849]
- [https://cert-portal.siemens.com/productcert/csaf/ssa-915275.json]
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_13340-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2023-45143]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-45143]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-45143]
- [https://security-tracker.debian.org/tracker/CVE-2023-45143]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2655.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]