7.5
CVSSv3

CVE-2022-31042

Published: 10/06/2022 Updated: 21/11/2024

Vulnerability Summary

Guzzle is an open source PHP HTTP client. In affected versions the `Cookie` 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, or on making a request to a server which responds with a redirect to a a URI to a different host, we should not forward the `Cookie` header on. Prior to this fix, only cookies that were managed by our cookie middleware would be safely removed, and any `Cookie` header manually added to the initial request would not be stripped. We now always strip it, and allow the cookie middleware to re-add any cookies that it deems should be there. Affected Guzzle 7 users should upgrade to Guzzle 7.4.4 as soon as possible. Affected users using any earlier series of Guzzle should upgrade to Guzzle 6.5.7 or 7.4.4. Users unable to upgrade may consider an alternative approach to use your own redirect middleware, rather than ours. If you do not require or expect redirects to be followed, one should simply disable redirects all together.

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

guzzlephp guzzle

drupal drupal

drupal drupal 9.4.0

debian debian linux 11.0

Vendor Advisories

Debian Bug report logs - #1012821 guzzle: CVE-2022-31042 CVE-2022-31043 Package: src:guzzle; Maintainer for src:guzzle is Katharina Drexel <katharinadrexel@bfhch>; Reported by: Salvatore Bonaccorso <carnil@debianorg> Date: Tue, 14 Jun 2022 20:15:02 UTC Severity: grave Tags: security, upstream Found in version guz ...
Multiple security issues were discovered in MediaWiki, a website engine for collaborative work, which could result in restriction bypass, information leaks, cross-site scripting or denial of service For the stable distribution (bullseye), these problems have been fixed in version 1:1358-1~deb11u1 We recommend that you upgrade your mediawiki pac ...
Severity Unknown Remote Unknown Type Unknown Description AVG-2823 mediawiki 1382-1 1383-1 Unknown Fixed githubcom/guzzle/guzzle/security/advisories/GHSA-f2wf-25xc-69c9 githubcom/guzzle/g ...