PT-2022-20519

CVE-2022-31091

·

Published

2022-06-21

·

Updated

2023-05-22

Description by

CVSS 3.1
7.7
High
MetricsAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Guzzle versions prior to 6.5.8 Guzzle versions prior to 7.4.5
Description Guzzle, an extensible PHP HTTP client, has a issue where Authorization and Cookie headers on requests are sensitive information. In affected versions, when making a request that responds with a redirect to a URI with a different port, if the redirect is followed, the Authorization and Cookie headers should be removed from the request before proceeding. Previously, only changes in host or scheme would trigger this removal.
Recommendations For Guzzle 7 users, upgrade to version 7.4.5 as soon as possible. For users of any earlier series of Guzzle, upgrade to version 6.5.8 or 7.4.5. As a temporary workaround, consider using your own redirect middleware instead of the default one if you are unable to upgrade. If redirects are not required or expected, consider disabling redirects altogether.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-Q559-8M2M-G699
DSA-5246-1
MGASA-2022-0338
Found an issue in the description? Have something to add? Feel free to write us 👾