PT-2022-7066
CVE-2023-45143
·
Published
2022-07-21
·
Updated
2026-10-31
Description by
CVSS 2.0
4.0
MediumMetricsAV:N/AC:L/Au:S/C:P/I:N/A:N
Name of the Vulnerable Software and Affected Versions
Undici versions prior to 5.26.2
Description
The issue is related to the handling of headers in the Undici HTTP/1.1 client for Node.js. Specifically, prior to version 5.26.2, Undici cleared Authorization headers on cross-origin redirects but did not clear
cookie headers. By design, cookie headers are forbidden request headers, which can lead to accidental leakage of cookies to a third-party site or allow a malicious attacker to leak cookies if they can control the redirection target.Recommendations
For versions prior to 5.26.2, update to version 5.26.2 or later to resolve the issue. As a temporary workaround, consider restricting access to sensitive
cookie headers until the update can be applied.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾