Information Exposure Affecting guzzlehttp/guzzle package, versions <6.5.8 >=7.0.0, <7.4.5
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PHP-GUZZLEHTTPGUZZLE-2933558
- published 22 Jun 2022
- disclosed 21 Jun 2022
- credit Unknown
Introduced: 21 Jun 2022
CVE-2022-31091 Open this link in a new tabHow to fix?
Upgrade guzzlehttp/guzzle
to version 6.5.8, 7.4.5 or higher.
Overview
Affected versions of this package are vulnerable to Information Exposure. When the Authorization
and Cookie
headers are included in a request that was redirected to a URI with a different port. By exploiting this vulnerability it is possible to expose these headers to the URI that the request is being redirected towards.
Workarounds:
An alternative approach would be to use your own redirect middleware if you are unable to upgrade. If you do not require or expect redirects to be followed, one should simply disable redirects altogether.