CVE-2022-31043: high-severity vulnerability in guzzle
Fix failure to strip Authorization header on HTTP downgrade in Guzzle
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
Guzzle, a popular PHP HTTP client, was leaking sensitive Authorization headers when automatically following redirects from secure HTTPS connections to insecure HTTP connections. This exposed login credentials and authentication tokens to potential attackers.
When Guzzle follows a redirect from HTTPS to HTTP, the Authorization header is not stripped before the downgrade, violating the same-host same-scheme principle applied to host changes. An attacker controlling a redirect target can intercept credentials in plaintext via network sniffing. Requires the application to follow redirects automatically, which is the default behavior.
In the same product, most dangerous first.