Information Exposure Affecting guzzlehttp/guzzle package, versions <6.5.8>=7.0.0, <7.4.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (69th percentile)

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 IDSNYK-PHP-GUZZLEHTTPGUZZLE-2933574
  • published22 Jun 2022
  • disclosed21 Jun 2022
  • creditUnknown

Introduced: 21 Jun 2022

CVE-2022-31090  (opens in a new tab)
CWE-200  (opens in a new tab)

How 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 Curl handler is in use, the Authorization header can be included in a request that was redirected to a URI with a different origin. By exploiting this vulnerability it is possible to expose these headers to the URI that the request is being redirected towards.

Workarounds:

If you do not require or expect redirects to be followed, one should simply disable redirects altogether. Alternatively, one can specify to use the Guzzle stream handler backend, rather than curl.

CVSS Scores

version 3.1