CVE-2023-45143
published low CVSS 3.1 · 3.9Undici's cookie header not cleared on cross-origin redirect in fetch
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nodejs | — | undici< 5.26.2 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-412 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | nodejs | Advisory build | 1:18.18.2-1.module_el8.8.0+3652+0e111ba0 | ALSA-2023:5869 |
| Alpine Linux | edge | nodejs | Fixed | 18.18.2-r0 | Package fix record |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 18b | Advisory build | 1:18.18.2-1.module+el8.8.0+21193+eb5c830b | ELSA-2023-5869 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:18.18.2-1.module+el8.8.0+20407+c11d40bd | RHSA-2023:5869 |
| AlmaLinux | 8 | nodejs | Advisory build | 1:20.8.1-1.module_el8.9.0+3675+0258a6d9 | ALSA-2023:7205 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:18.18.2-1.module_el8.8.0+3652+0e111ba0 | ALSA-2023:5869 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:20.8.1-1.module_el8.9.0+3675+0258a6d9 | ALSA-2023:7205 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:18.18.2-1.module_el8.8.0+3652+0e111ba0 | ALSA-2023:5869 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:20.8.1-1.module_el8.9.0+3675+0258a6d9 | ALSA-2023:7205 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:18.18.2-1.module_el8.8.0+3652+0e111ba0 | ALSA-2023:5869 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:20.8.1-1.module_el8.9.0+3675+0258a6d9 | ALSA-2023:7205 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2023:5869 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el8.9.0+3675+0258a6d9 | ALSA-2023:7205 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:5869 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 2021.06-4.module_el8.9.0+3684+11b9e959 | ALSA-2023:7205 |
| AlmaLinux | 8 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:5869 |
| AlmaLinux | 8 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el8.9.0+3684+11b9e959 | ALSA-2023:7205 |
| AlmaLinux | 8 | npm | Advisory build | 1:10.1.0-1.20.8.1.1.module_el8.9.0+3675+0258a6d9 | ALSA-2023:7205 |
| AlmaLinux | 8 | npm | Advisory build | 1:9.8.1-1.18.18.2.1.module_el8.8.0+3652+0e111ba0 | ALSA-2023:5869 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:18.18.2-2.module_el9.2.0+43+3ebc9e20 | ALSA-2023:5849 |
| AlmaLinux | 9 | nodejs-devel | Advisory build | 1:18.18.2-2.module_el9.2.0+43+3ebc9e20 | ALSA-2023:5849 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:18.18.2-2.module_el9.2.0+43+3ebc9e20 | ALSA-2023:5849 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:18.18.2-2.module_el9.2.0+43+3ebc9e20 | ALSA-2023:5849 |
| AlmaLinux | 9 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el9.2.0+36+853e48f5 | ALSA-2023:5849 |
| AlmaLinux | 9 | nodejs-packaging | Advisory build | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:5849 |
| AlmaLinux | 9 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:5849 |
| AlmaLinux | 9 | npm | Advisory build | 1:9.8.1-1.18.18.2.2.module_el9.2.0+43+3ebc9e20 | ALSA-2023:5849 |
| Alpine Linux | edge | nodejs-current | Fixed | 20.8.1-r0 | Package fix record |
| Alpine Linux | edge | openjdk21 | Fixed | 21.0.2_p13-r0 | Package fix record |
| Alpine Linux | v3.17 | nodejs | Fixed | 18.18.2-r0 | Package fix record |
| Alpine Linux | v3.18 | nodejs | Fixed | 18.18.2-r0 | Package fix record |
| Alpine Linux | v3.18 | nodejs-current | Fixed | 20.8.1-r0 | Package fix record |
| Alpine Linux | v3.19 | nodejs | Fixed | 18.18.2-r0 | Package fix record |
| Alpine Linux | v3.19 | nodejs-current | Fixed | 20.8.1-r0 | Package fix record |
| Alpine Linux | v3.19 | openjdk21 | Fixed | 21.0.2_p13-r0 | Package fix record |
| Alpine Linux | v3.20 | nodejs | Fixed | 18.18.2-r0 | Package fix record |
| Alpine Linux | v3.20 | nodejs-current | Fixed | 20.8.1-r0 | Package fix record |
| Alpine Linux | v3.20 | openjdk21 | Fixed | 21.0.2_p13-r0 | Package fix record |
| Alpine Linux | v3.21 | nodejs | Fixed | 18.18.2-r0 | Package fix record |
| Alpine Linux | v3.21 | nodejs-current | Fixed | 20.8.1-r0 | Package fix record |
| Alpine Linux | v3.21 | openjdk21 | Fixed | 21.0.2_p13-r0 | Package fix record |
| Alpine Linux | v3.22 | nodejs | Fixed | 18.18.2-r0 | Package fix record |
| Alpine Linux | v3.22 | nodejs-current | Fixed | 20.8.1-r0 | Package fix record |
| Alpine Linux | v3.22 | openjdk21 | Fixed | 21.0.2_p13-r0 | Package fix record |
| Alpine Linux | v3.23 | nodejs | Fixed | 18.18.2-r0 | Package fix record |
| Alpine Linux | v3.23 | nodejs-current | Fixed | 20.8.1-r0 | Package fix record |
| Alpine Linux | v3.23 | openjdk21 | Fixed | 21.0.2_p13-r0 | Package fix record |
| Alpine Linux | v3.24 | nodejs | Fixed | 18.18.2-r0 | Package fix record |
| Alpine Linux | v3.24 | nodejs-current | Fixed | 20.8.1-r0 | Package fix record |
| Alpine Linux | v3.24 | openjdk21 | Fixed | 21.0.2_p13-r0 | Package fix record |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 20b | Advisory build | 1:20.8.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2023-7205 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 18b | Advisory build | 1:18.18.2-1.module+el8.8.0+21193+eb5c830b | ELSA-2023-5869 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 20b | Advisory build | 1:20.8.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2023-7205 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 18b | Advisory build | 1:18.18.2-1.module+el8.8.0+21193+eb5c830b | ELSA-2023-5869 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 20b | Advisory build | 1:20.8.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2023-7205 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 18b | Advisory build | 1:18.18.2-1.module+el8.8.0+21193+eb5c830b | ELSA-2023-5869 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 20b | Advisory build | 1:20.8.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2023-7205 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 18b | Advisory build | 1:18.18.2-1.module+el8.8.0+21193+eb5c830b | ELSA-2023-5869 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 20b | Advisory build | 1:20.8.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2023-7205 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 18b | Advisory build | 1:18.18.2-1.module+el8.8.0+21193+eb5c830b | ELSA-2023-5869 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 20b | Advisory build | 1:20.8.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2023-7205 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 18b | Advisory build | 1:18.18.2-1.module+el8.8.0+21193+eb5c830b | ELSA-2023-5869 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 20b | Advisory build | 1:20.8.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2023-7205 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 18b | Advisory build | 1:18.18.2-1.module+el8.8.0+21193+eb5c830b | ELSA-2023-5869 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 20b | Advisory build | 1:20.8.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2023-7205 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 18b | Advisory build | 0:3.0.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5869 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 20b | Advisory build | 0:3.0.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2023-7205 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 18b | Advisory build | 0:3.0.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5869 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 20b | Advisory build | 0:3.0.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2023-7205 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-5869 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.9.0+90082+b6a613a6 | ELSA-2023-7205 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-5869 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.9.0+90082+b6a613a6 | ELSA-2023-7205 |
| Oracle Linux | 8 | nodejs-packaging-bundleraarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-5869 |
| Oracle Linux | 8 | nodejs-packaging-bundleraarch64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.9.0+90082+b6a613a6 | ELSA-2023-7205 |
| Oracle Linux | 8 | nodejs-packaging-bundlerx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-5869 |
| Oracle Linux | 8 | nodejs-packaging-bundlerx86_64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.9.0+90082+b6a613a6 | ELSA-2023-7205 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 18b | Advisory build | 1:9.8.1-1.18.18.2.1.module+el8.8.0+21193+eb5c830b | ELSA-2023-5869 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 20b | Advisory build | 1:10.1.0-1.20.8.1.1.module+el8.9.0+90082+b6a613a6 | ELSA-2023-7205 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 18b | Advisory build | 1:9.8.1-1.18.18.2.1.module+el8.8.0+21193+eb5c830b | ELSA-2023-5869 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 20b | Advisory build | 1:10.1.0-1.20.8.1.1.module+el8.9.0+90082+b6a613a6 | ELSA-2023-7205 |
| Oracle Linux | 9 | nodejsaarch64 · nodejs · 18b | Advisory build | 1:18.18.2-2.module+el9.2.0+21194+c0bbf6cf | ELSA-2023-5849 |
| Oracle Linux | 9 | nodejsx86_64 · nodejs · 18b | Advisory build | 1:18.18.2-2.module+el9.2.0+21194+c0bbf6cf | ELSA-2023-5849 |
| Oracle Linux | 9 | nodejs-develaarch64 · nodejs · 18b | Advisory build | 1:18.18.2-2.module+el9.2.0+21194+c0bbf6cf | ELSA-2023-5849 |
| Oracle Linux | 9 | nodejs-develx86_64 · nodejs · 18b | Advisory build | 1:18.18.2-2.module+el9.2.0+21194+c0bbf6cf | ELSA-2023-5849 |
| Oracle Linux | 9 | nodejs-docsaarch64 · nodejs · 18b | Advisory build | 1:18.18.2-2.module+el9.2.0+21194+c0bbf6cf | ELSA-2023-5849 |
| Oracle Linux | 9 | nodejs-docsx86_64 · nodejs · 18b | Advisory build | 1:18.18.2-2.module+el9.2.0+21194+c0bbf6cf | ELSA-2023-5849 |
| Oracle Linux | 9 | nodejs-full-i18naarch64 · nodejs · 18b | Advisory build | 1:18.18.2-2.module+el9.2.0+21194+c0bbf6cf | ELSA-2023-5849 |
| Oracle Linux | 9 | nodejs-full-i18nx86_64 · nodejs · 18b | Advisory build | 1:18.18.2-2.module+el9.2.0+21194+c0bbf6cf | ELSA-2023-5849 |
| Oracle Linux | 9 | nodejs-nodemonaarch64 · nodejs · 18b | Advisory build | 0:3.0.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5849 |
| Oracle Linux | 9 | nodejs-nodemonx86_64 · nodejs · 18b | Advisory build | 0:3.0.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5849 |
| Oracle Linux | 9 | nodejs-packagingaarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-5849 |
| Oracle Linux | 9 | nodejs-packagingx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-5849 |
| Oracle Linux | 9 | nodejs-packaging-bundleraarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-5849 |
| Oracle Linux | 9 | nodejs-packaging-bundlerx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-5849 |
| Oracle Linux | 9 | npmaarch64 · nodejs · 18b | Advisory build | 1:9.8.1-1.18.18.2.2.module+el9.2.0+21194+c0bbf6cf | ELSA-2023-5849 |
| Oracle Linux | 9 | npmx86_64 · nodejs · 18b | Advisory build | 1:9.8.1-1.18.18.2.2.module+el9.2.0+21194+c0bbf6cf | ELSA-2023-5849 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:20.8.1-1.module+el8.9.0+20473+c4e3d824 | RHSA-2023:7205 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsppc64le | Advisory build | 1:18.18.2-1.module+el8.8.0+20407+c11d40bd | RHSA-2023:5869 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsppc64le | Advisory build | 1:20.8.1-1.module+el8.9.0+20473+c4e3d824 | RHSA-2023:7205 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.9 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nodejs | undici | < 5.26.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
References
11- https://github.com/nodejs/undici/commit/e041de359221ebeae04c469e8aff4145764e6d76
- https://github.com/nodejs/undici/releases/tag/v5.26.2
- https://github.com/nodejs/undici/security/advisories/GHSA-q768-x9m6-m9qp
- https://github.com/nodejs/undici/security/advisories/GHSA-wqq4-5wpv-mx2g
- https://hackerone.com/reports/2166948
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3N4NJ7FR4X4FPZUGNTQAPSTVB2HB2Y4A/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/E72T67UPDRXHIDLO3OROR25YAMN4GGW5/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/FNA62Q767CFAFHBCDKYNPBMZWB7TWYVU/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/HT7T2R4MQKLIF4ODV4BDLPARWFPCJ5CZ/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LKYHSZQFDNR7RSA7LHVLLIAQMVYCUGBG/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/X6QXN4ORIVF6XBW4WWFE7VNPVC74S45Y/
Provider assertions
3GitHub_M · cna
Undici's cookie header not cleared on cross-origin redirect in fetch
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4b178907f34f4d64c2c5a44b740aac51969290c01f58bf9bc81daf867361f4fd
- Ingested
- 23 Sep 2026, 08:12:20 UTC
- Source record
- Official CVE record