{"schemaVersion":3,"id":"CVE-2023-45143","aliases":["ALPINE-CVE-2023-45143","UBUNTU-CVE-2023-45143","DEBIAN-CVE-2023-45143","GHSA-wqq4-5wpv-mx2g"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-10-12T16:35:40.637Z","modified":"2025-02-13T17:13:50.221Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.9,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.9,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":3.5,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","exploitability":5.4,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":3.5,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","exploitability":5.4,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":3.5,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","exploitability":5.4,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":3.9,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L","exploitability":1.3,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.5,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01368,"percentile":0.71454,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.145,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01223},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01223,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01223,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01223,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01223,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01223,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01223,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01223,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01223,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01223,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01223,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01368,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01368,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01368,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01368,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01368,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01368,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01368,"percentile":0.71454}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01223,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01223,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01223,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01223,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01223,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01249,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01368,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01368,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01368,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01368,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01368,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01368,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01368,"percentile":0.71454}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"}],"affected":[{"vendor":"alpine","product":"nodejs","name":"nodejs","label":"nodejs","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/nodejs","purlType":"apk","versions":[{"text":"< 18.18.2-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 18.18.2-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"node-undici","name":"node-undici","label":"node-undici","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/node-undici","purlType":"deb","versions":[{"text":"< 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u2","noFixRecorded":false,"fixedIn":null},{"text":"< 5.26.3+dfsg1+~cs23.10.12-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u2 | < 5.26.3+dfsg1+~cs23.10.12-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"node-undici","name":"node-undici","label":"node-undici","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/node-undici","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"37","noFixRecorded":false,"fixedIn":null},{"text":"38","noFixRecorded":false,"fixedIn":null},{"text":"39","noFixRecorded":false,"fixedIn":null}],"versionsText":"37 | 38 | 39","eol":{"isEol":true,"eolDate":"2023-12-05T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"37","label":"37","eolFrom":"2023-12-05T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"nodejs","product":"undici","name":"undici","label":"undici","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.26.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.26.2","eol":null,"hubHref":"/vendor/nodejs/undici"},{"vendor":"Npm","product":"undici","name":"undici","label":"undici","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/undici","purlType":"npm","versions":[{"text":"< 5.26.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.26.2","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-wqq4-5wpv-mx2g","label":"github.com/nodejs/undici/security/advisories/GHSA-wqq4-5wpv-mx2g","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB","Vendor Advisory"]},{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-q768-x9m6-m9qp","label":"github.com/nodejs/undici/security/advisories/GHSA-q768-x9m6-m9qp","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Not Applicable"]},{"url":"https://github.com/nodejs/undici/commit/e041de359221ebeae04c469e8aff4145764e6d76","label":"github.com/nodejs/undici/commit/e041de359221ebeae04c469e8aff4145764e6d76","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Patch"]},{"url":"https://hackerone.com/reports/2166948","label":"hackerone.com/reports/2166948","hostname":"hackerone.com","tags":["X Refsource MISC","REPORT","WEB","Permissions Required"]},{"url":"https://github.com/nodejs/undici/releases/tag/v5.26.2","label":"github.com/nodejs/undici/releases/tag/v5.26.2","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Release Notes"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/E72T67UPDRXHIDLO3OROR25YAMN4GGW5/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X6QXN4ORIVF6XBW4WWFE7VNPVC74S45Y/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LKYHSZQFDNR7RSA7LHVLLIAQMVYCUGBG/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FNA62Q767CFAFHBCDKYNPBMZWB7TWYVU/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3N4NJ7FR4X4FPZUGNTQAPSTVB2HB2Y4A/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HT7T2R4MQKLIF4ODV4BDLPARWFPCJ5CZ/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2023-45143","label":"security.alpinelinux.org/vuln/CVE-2023-45143","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-45143","label":"ubuntu.com/security/CVE-2023-45143","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-45143","label":"www.cve.org/CVERecord?id=CVE-2023-45143","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-45143","label":"security-tracker.debian.org/tracker/CVE-2023-45143","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45143","label":"nvd.nist.gov/vuln/detail/CVE-2023-45143","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/nodejs/undici","label":"github.com/nodejs/undici","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3N4NJ7FR4X4FPZUGNTQAPSTVB2HB2Y4A","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/E72T67UPDRXHIDLO3OROR25YAMN4GGW5","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FNA62Q767CFAFHBCDKYNPBMZWB7TWYVU","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HT7T2R4MQKLIF4ODV4BDLPARWFPCJ5CZ","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LKYHSZQFDNR7RSA7LHVLLIAQMVYCUGBG","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X6QXN4ORIVF6XBW4WWFE7VNPVC74S45Y","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["MGASA-2023-0299","OPENSUSE-SU-2024:13337-1","OPENSUSE-SU-2024:13340-1","RHSA-2023:5849","RHSA-2023:5869","RHSA-2023:7205","SUSE-SU-2023:4132-1","SUSE-SU-2023:4133-1","SUSE-SU-2023:4150-1","SUSE-SU-2023:4155-1","SUSE-SU-2023:4207-1"],"duplicates":[],"related":["CVE-2022-31151","OPENSUSE-SU-2024:13337-1","OPENSUSE-SU-2024:13340-1","SUSE-SU-2023:4132-1","SUSE-SU-2023:4133-1","SUSE-SU-2023:4150-1","SUSE-SU-2023:4155-1","SUSE-SU-2023:4207-1"]},"timeline":[{"kind":"published","date":"2023-10-12T16:35:40.637Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-13T17:13:50.221Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":16,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T05:36:58.866Z","stale":false,"partial":false}}