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

    Threat Intelligence

    EPSS
    0.23% (62nd 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 ID SNYK-PHP-GUZZLEHTTPGUZZLE-2933558
  • published 22 Jun 2022
  • disclosed 21 Jun 2022
  • credit Unknown

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 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.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.1 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None
Expand this section

NVD

7.7 high