CVE catalog

CVE-2023-45143

node-undici: CVE-2023-45143

[CVE catalog]

Severity
Low · CVSS 3.9CVSS: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.

DistributionPackageReleaseVersionStatus
Debiannode-undicisid8.12.2+dfsg+~cs3.2.3-2fixed
Debiannode-undiciforky8.10.2+dfsg+~cs3.2.2-1fixed
Debiannode-undicitrixie7.3.0+dfsg1+~cs24.12.11-1fixed
Debiannode-undicibookworm5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4fixed
Debiannode-undicibookworm-security5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3fixed
Alpinenodejs3.1718.18.2-r0fixed
Alpinenodejs3.1818.18.2-r0fixed
Alpinenodejs3.1918.18.2-r0fixed
Alpinenodejs3.2018.18.2-r0fixed
Alpinenodejs3.2118.18.2-r0fixed
Alpinenodejs3.2218.18.2-r0fixed
Alpinenodejs3.2318.18.2-r0fixed
Alpinenodejs3.2418.18.2-r0fixed
Ubuntunode-undici24.045.22.1+dfsg1+~cs20.10.10.2-1ubuntu1vulnerable
Ubuntunode-undici24.045.26.3+dfsg1+~cs23.10.12-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-undicisourcesid5.26.3+dfsg1+~cs23.10.12-1not yet assignedNot reported[1053879]
Debiannode-undicisourceforky5.26.3+dfsg1+~cs23.10.12-1not yet assignedNot reported[1053879]
Debiannode-undicisourcetrixie5.26.3+dfsg1+~cs23.10.12-1not yet assignedNot reported[1053879]
Debiannode-undicisourcebookworm5.15.0+dfsg1+~cs20.10.9.3-1+deb12u2not yet assignedNot reported[1053879]
Alpinenodejsapk3.1718.18.2-r0Not reportedALPINE-CVE-2023-45143Not reported
Alpinenodejsapk3.1818.18.2-r0Not reportedALPINE-CVE-2023-45143Not reported
Alpinenodejsapk3.1918.18.2-r0Not reportedALPINE-CVE-2023-45143Not reported
Alpinenodejsapk3.2018.18.2-r0Not reportedALPINE-CVE-2023-45143Not reported
Alpinenodejsapk3.2118.18.2-r0Not reportedALPINE-CVE-2023-45143Not reported
Alpinenodejsapk3.2218.18.2-r0Not reportedALPINE-CVE-2023-45143Not reported
Alpinenodejsapk3.2318.18.2-r0Not reportedALPINE-CVE-2023-45143Not reported
Alpinenodejsapk3.2418.18.2-r0Not reportedALPINE-CVE-2023-45143Not reported

[Debian bug #1053879]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References