PT-2022-20518 · Guzzle · Guzzle

CVE-2022-31090

·

Published

2022-06-20

·

Updated

2023-07-24

CVSS v3.1

7.7

High

VectorAV: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 👾

Weakness Enumeration

Related Identifiers

CVE-2022-31090
DSA-5246-1
GHSA-25MQ-V84Q-4J7R
MGASA-2022-0338

Affected Products

Guzzle