PT-2022-20518 · Guzzle · Guzzle
Published
2022-06-21
·
Updated
2023-07-24
·
CVE-2022-31090
CVSS v3.1
7.7
High
| Vector | AV: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 sensitive information leak issue. When using the Curl handler, the
CURLOPT HTTPAUTH option can specify an Authorization header. If a request responds with a redirect to a different origin, the CURLOPT HTTPAUTH option should be removed to prevent curl from appending the Authorization header to the new request.Recommendations
For Guzzle 7 users, upgrade to version 7.4.5 as soon as possible.
For users using any earlier series of Guzzle, upgrade to version 6.5.8 or 7.4.5.
As a temporary workaround, consider disabling redirects altogether.
Alternatively, specify to use the Guzzle stream handler backend, rather than curl.
Exploit
Fix
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Guzzle