{"id":"ALPINE-CVE-2023-45143","details":"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.","modified":"2025-12-03T22:53:29.319938Z","published":"2023-10-12T17:15:10.087Z","upstream":["CVE-2023-45143"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2023-45143"}],"affected":[{"package":{"name":"nodejs","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/nodejs?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.18.2-r0"}]}],"versions":["10.13.0-r0","10.14.0-r0","10.14.1-r0","10.14.2-r0","10.15.1-r0","10.15.3-r0","10.16.0-r0","10.16.1-r0","10.16.2-r0","10.16.3-r0","12.13.0-r0","12.13.0-r1","12.13.1-r0","12.14.0-r0","12.14.1-r0","12.15.0-r0","12.15.0-r1","12.15.0-r2","12.16.2-r0","12.16.3-r0","12.16.3-r1","12.17.0-r0","12.18.0-r0","12.18.0-r1","12.18.0-r2","12.18.2-r0","12.18.3-r0","12.18.4-r0","12.19.0-r0","14.15.1-r0","14.15.3-r0","14.15.3-r1","14.15.3-r2","14.15.4-r0","14.15.5-r0","14.16.0-r0","14.16.0-r1","14.16.1-r0","14.16.1-r1","14.16.1-r2","14.17.0-r0","14.17.1-r0","14.17.2-r0","14.17.3-r0","14.17.4-r0","14.17.5-r0","14.17.6-r0","14.17.6-r1","14.18.0-r0","14.18.1-r0","14.18.1-r1","16.13.0-r0","16.13.1-r0","16.13.1-r1","16.13.2-r0","16.13.2-r1","16.14.2-r0","16.14.2-r1","16.15.0-r0","16.15.0-r1","16.16.0-r0","16.16.0-r1","16.17.0-r0","16.17.1-r0","16.18.0-r0","16.18.0-r1","18.12.0-r0","18.12.1-r0","18.14.1-r0","18.14.2-r0","18.16.0-r0","18.16.1-r0","18.17.0-r0","18.17.1-r0","4.4.3-r0","4.4.4-r0","4.4.5-r0","4.4.7-r0","4.5.0-r0","6.10.0-r0","6.10.1-r0","6.10.3-r0","6.11.0-r0","6.11.1-r0","6.11.1-r1","6.11.1-r2","6.11.2-r0","6.11.3-r0","6.11.4-r0","6.11.5-r0","6.9.1-r0","6.9.1-r1","6.9.2-r0","6.9.4-r0","6.9.4-r1","6.9.5-r0","6.9.5-r1","8.10.0-r0","8.11.0-r0","8.11.0-r1","8.11.1-r0","8.11.1-r1","8.11.1-r2","8.11.2-r0","8.11.3-r0","8.11.3-r1","8.11.3-r2","8.11.3-r3","8.11.4-r0","8.12.0-r0","8.9.0-r0","8.9.1-r0","8.9.2-r0","8.9.3-r0","8.9.3-r1","8.9.4-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-45143.json"}},{"package":{"name":"nodejs","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/nodejs?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.18.2-r0"}]}],"versions":["10.13.0-r0","10.14.0-r0","10.14.1-r0","10.14.2-r0","10.15.1-r0","10.15.3-r0","10.16.0-r0","10.16.1-r0","10.16.2-r0","10.16.3-r0","12.13.0-r0","12.13.0-r1","12.13.1-r0","12.14.0-r0","12.14.1-r0","12.15.0-r0","12.15.0-r1","12.15.0-r2","12.16.2-r0","12.16.3-r0","12.16.3-r1","12.17.0-r0","12.18.0-r0","12.18.0-r1","12.18.0-r2","12.18.2-r0","12.18.3-r0","12.18.4-r0","12.19.0-r0","14.15.1-r0","14.15.3-r0","14.15.3-r1","14.15.3-r2","14.15.4-r0","14.15.5-r0","14.16.0-r0","14.16.0-r1","14.16.1-r0","14.16.1-r1","14.16.1-r2","14.17.0-r0","14.17.1-r0","14.17.2-r0","14.17.3-r0","14.17.4-r0","14.17.5-r0","14.17.6-r0","14.17.6-r1","14.18.0-r0","14.18.1-r0","14.18.1-r1","16.13.0-r0","16.13.1-r0","16.13.1-r1","16.13.2-r0","16.13.2-r1","16.14.2-r0","16.14.2-r1","16.15.0-r0","16.15.0-r1","16.16.0-r0","16.16.0-r1","16.17.0-r0","16.17.1-r0","16.18.0-r0","16.18.0-r1","18.12.0-r0","18.12.1-r0","18.13.0-r0","18.14.0-r0","18.14.1-r0","18.14.2-r0","18.15.0-r0","18.15.0-r1","18.16.0-r0","18.16.0-r1","18.16.1-r0","18.17.0-r0","18.17.1-r0","4.4.3-r0","4.4.4-r0","4.4.5-r0","4.4.7-r0","4.5.0-r0","6.10.0-r0","6.10.1-r0","6.10.3-r0","6.11.0-r0","6.11.1-r0","6.11.1-r1","6.11.1-r2","6.11.2-r0","6.11.3-r0","6.11.4-r0","6.11.5-r0","6.9.1-r0","6.9.1-r1","6.9.2-r0","6.9.4-r0","6.9.4-r1","6.9.5-r0","6.9.5-r1","8.10.0-r0","8.11.0-r0","8.11.0-r1","8.11.1-r0","8.11.1-r1","8.11.1-r2","8.11.2-r0","8.11.3-r0","8.11.3-r1","8.11.3-r2","8.11.3-r3","8.11.4-r0","8.12.0-r0","8.9.0-r0","8.9.1-r0","8.9.2-r0","8.9.3-r0","8.9.3-r1","8.9.4-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-45143.json"}},{"package":{"name":"nodejs","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/nodejs?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.18.2-r0"}]}],"versions":["10.13.0-r0","10.14.0-r0","10.14.1-r0","10.14.2-r0","10.15.1-r0","10.15.3-r0","10.16.0-r0","10.16.1-r0","10.16.2-r0","10.16.3-r0","12.13.0-r0","12.13.0-r1","12.13.1-r0","12.14.0-r0","12.14.1-r0","12.15.0-r0","12.15.0-r1","12.15.0-r2","12.16.2-r0","12.16.3-r0","12.16.3-r1","12.17.0-r0","12.18.0-r0","12.18.0-r1","12.18.0-r2","12.18.2-r0","12.18.3-r0","12.18.4-r0","12.19.0-r0","14.15.1-r0","14.15.3-r0","14.15.3-r1","14.15.3-r2","14.15.4-r0","14.15.5-r0","14.16.0-r0","14.16.0-r1","14.16.1-r0","14.16.1-r1","14.16.1-r2","14.17.0-r0","14.17.1-r0","14.17.2-r0","14.17.3-r0","14.17.4-r0","14.17.5-r0","14.17.6-r0","14.17.6-r1","14.18.0-r0","14.18.1-r0","14.18.1-r1","16.13.0-r0","16.13.1-r0","16.13.1-r1","16.13.2-r0","16.13.2-r1","16.14.2-r0","16.14.2-r1","16.15.0-r0","16.15.0-r1","16.16.0-r0","16.16.0-r1","16.17.0-r0","16.17.1-r0","16.18.0-r0","16.18.0-r1","18.12.0-r0","18.12.1-r0","18.13.0-r0","18.14.0-r0","18.14.1-r0","18.14.2-r0","18.15.0-r0","18.15.0-r1","18.16.0-r0","18.16.0-r1","18.16.1-r0","18.17.0-r0","18.17.1-r0","18.18.0-r0","18.18.1-r0","4.4.3-r0","4.4.4-r0","4.4.5-r0","4.4.7-r0","4.5.0-r0","6.10.0-r0","6.10.1-r0","6.10.3-r0","6.11.0-r0","6.11.1-r0","6.11.1-r1","6.11.1-r2","6.11.2-r0","6.11.3-r0","6.11.4-r0","6.11.5-r0","6.9.1-r0","6.9.1-r1","6.9.2-r0","6.9.4-r0","6.9.4-r1","6.9.5-r0","6.9.5-r1","8.10.0-r0","8.11.0-r0","8.11.0-r1","8.11.1-r0","8.11.1-r1","8.11.1-r2","8.11.2-r0","8.11.3-r0","8.11.3-r1","8.11.3-r2","8.11.3-r3","8.11.4-r0","8.12.0-r0","8.9.0-r0","8.9.1-r0","8.9.2-r0","8.9.3-r0","8.9.3-r1","8.9.4-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-45143.json"}},{"package":{"name":"nodejs","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/nodejs?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.18.2-r0"}]}],"versions":["10.13.0-r0","10.14.0-r0","10.14.1-r0","10.14.2-r0","10.15.1-r0","10.15.3-r0","10.16.0-r0","10.16.1-r0","10.16.2-r0","10.16.3-r0","12.13.0-r0","12.13.0-r1","12.13.1-r0","12.14.0-r0","12.14.1-r0","12.15.0-r0","12.15.0-r1","12.15.0-r2","12.16.2-r0","12.16.3-r0","12.16.3-r1","12.17.0-r0","12.18.0-r0","12.18.0-r1","12.18.0-r2","12.18.2-r0","12.18.3-r0","12.18.4-r0","12.19.0-r0","14.15.1-r0","14.15.3-r0","14.15.3-r1","14.15.3-r2","14.15.4-r0","14.15.5-r0","14.16.0-r0","14.16.0-r1","14.16.1-r0","14.16.1-r1","14.16.1-r2","14.17.0-r0","14.17.1-r0","14.17.2-r0","14.17.3-r0","14.17.4-r0","14.17.5-r0","14.17.6-r0","14.17.6-r1","14.18.0-r0","14.18.1-r0","14.18.1-r1","16.13.0-r0","16.13.1-r0","16.13.1-r1","16.13.2-r0","16.13.2-r1","16.14.2-r0","16.14.2-r1","16.15.0-r0","16.15.0-r1","16.16.0-r0","16.16.0-r1","16.17.0-r0","16.17.1-r0","16.18.0-r0","16.18.0-r1","18.12.0-r0","18.12.1-r0","18.13.0-r0","18.14.0-r0","18.14.1-r0","18.14.2-r0","18.15.0-r0","18.15.0-r1","18.16.0-r0","18.16.0-r1","18.16.1-r0","18.17.0-r0","18.17.1-r0","18.18.0-r0","18.18.1-r0","4.4.3-r0","4.4.4-r0","4.4.5-r0","4.4.7-r0","4.5.0-r0","6.10.0-r0","6.10.1-r0","6.10.3-r0","6.11.0-r0","6.11.1-r0","6.11.1-r1","6.11.1-r2","6.11.2-r0","6.11.3-r0","6.11.4-r0","6.11.5-r0","6.9.1-r0","6.9.1-r1","6.9.2-r0","6.9.4-r0","6.9.4-r1","6.9.5-r0","6.9.5-r1","8.10.0-r0","8.11.0-r0","8.11.0-r1","8.11.1-r0","8.11.1-r1","8.11.1-r2","8.11.2-r0","8.11.3-r0","8.11.3-r1","8.11.3-r2","8.11.3-r3","8.11.4-r0","8.12.0-r0","8.9.0-r0","8.9.1-r0","8.9.2-r0","8.9.3-r0","8.9.3-r1","8.9.4-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-45143.json"}},{"package":{"name":"nodejs","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/nodejs?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.18.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-45143.json"}},{"package":{"name":"nodejs","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/nodejs?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.18.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-45143.json"}},{"package":{"name":"nodejs","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/nodejs?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.18.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-45143.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N"}]}