CVE-2023-45143

CVSS v3.1 3.5 (Low)
35% Progress
EPSS 1.22 % (86th)
1.22% Progress
Affected Products 2
Advisories 22

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.

Weaknesses
CWE-200
Exposure of Sensitive Information to an Unauthorized Actor
CWE-NVD-noinfo
CVE Status
PUBLISHED
CNA
GitHub, Inc.
Published Date
2023-10-12 17:15:10
(11 months ago)
Updated Date
2024-02-16 16:09:02
(7 months ago)

Affected Products

Loading...
Loading...
Loading...

Configuration #1

    CPE23 From Up To
  Nodejs Undici for Node.js prior 5.26.2 version cpe:2.3:a:nodejs:undici::*:*:*:*:node.js < 5.26.2

Configuration #2

    CPE23 From Up To
  Fedoraproject Fedora 37 cpe:2.3:o:fedoraproject:fedora:37
  Fedoraproject Fedora 38 cpe:2.3:o:fedoraproject:fedora:38
  Fedoraproject Fedora 39 cpe:2.3:o:fedoraproject:fedora:39
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...