SCA: security update for guzzlehttp/guzzle (GHSA-q559-8m2m-g699)

high Tenable Cloud Security Plugin ID 417890

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Guzzle, an extensible PHP HTTP client. `Authorization` and `Cookie` headers on requests are sensitive
information. In affected versions on making a request which responds with a redirect to a URI with a
different port, if we choose to follow it, we should remove the `Authorization` and `Cookie` headers from
the request, before containing. Previously, we would only consider a change in host or scheme. Affected
Guzzle 7 users should upgrade to Guzzle 7.4.5 as soon as possible. Affected users using any earlier series
of Guzzle should upgrade to Guzzle 6.5.8 or 7.4.5. Note that a partial fix was implemented in Guzzle
7.4.2, where a change in host would trigger removal of the curl-added Authorization header, however this
earlier fix did not cover change in scheme or change in port. An alternative approach would be to use your
own redirect middleware, rather than ours, if you are unable to upgrade. If you do not require or expect
redirects to be followed, one should simply disable redirects all together. (CVE-2022-31091)

See Also

https://github.com/advisories/GHSA-q559-8m2m-g699

Plugin Details

Severity: High

ID: 417890

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3.3

Percentile: 50.87

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:N/A:N

CVSS Score Source: CVE-2022-31091

CVSS v3

Risk Factor: High

Base Score: 7.7

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/21/2022

Vulnerability Publication Date: 6/21/2022

Reference Information

CVE: CVE-2022-31091

cwe: CWE-200