PT-2022-7066 · Undici+7 · Undici+7
Ranjit-Git
·
Published
2022-07-21
·
Updated
2025-02-13
·
CVE-2023-45143
CVSS v2.0
4.0
Medium
| Vector | AV: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.Exploit
Fix
Origin Validation Error
Open Redirect
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Centos
Red Hat
Red Os
Rocky Linux
Suse
Undici