Bug 2097352 (CVE-2022-31043) - CVE-2022-31043 php-guzzlehttp-guzzle: disclosure of sensitive information
Summary: CVE-2022-31043 php-guzzlehttp-guzzle: disclosure of sensitive information
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2022-31043
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2097354 2097355
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-15 13:45 UTC by Marian Rehak
Modified: 2022-06-15 17:21 UTC (History)
1 user (show)

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:
Clone Of:
Environment:
Last Closed: 2022-06-15 17:21:42 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.