Bug 2097352 (CVE-2022-31043)

Summary: CVE-2022-31043 php-guzzlehttp-guzzle: disclosure of sensitive information
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: shawn
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: php-guzzlehttp-guzzle 6.5.7, php-guzzlehttp-guzzle 7.4.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-15 17:21:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2097354, 2097355    
Bug Blocks:    

Description Marian Rehak 2022-06-15 13:45:26 UTC
Guzzle is an open source PHP HTTP client. In affected versions `Authorization` headers on requests are sensitive information. On making a request using the `https` scheme to a server which responds with a redirect to a URI with the `http` scheme, we should not forward the `Authorization` header on. This is much the same as to how we don't forward on the header if the host changes. Prior to this fix, `https` to `http` downgrades did not result in the `Authorization` header being removed, only changes to the host.

Reference:

https://github.com/guzzle/guzzle/security/advisories/GHSA-w248-ffj2-4v5q

Comment 1 Marian Rehak 2022-06-15 13:45:42 UTC
Created php-guzzlehttp-guzzle tracking bugs for this issue:

Affects: epel-7 [bug 2097355]
Affects: fedora-all [bug 2097354]

Comment 2 Product Security DevOps Team 2022-06-15 17:21:40 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.