CVE catalog

CVE-2022-31091

guzzle: CVE-2022-31091

[CVE catalog]

Severity
High · CVSS 7.7CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
1.53% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianguzzlesid7.15.5-1fixed
Debianguzzleforky7.15.5-1fixed
Debianguzzletrixie7.9.2-0.1fixed
Debianguzzlebookworm7.4.5-1fixed
Debianmediawikisid1:1.43.11+dfsg-3fixed
Debianmediawikiforky1:1.43.11+dfsg-1fixed
Debianmediawikitrixie1:1.43.9+dfsg-1~deb13u1fixed
Debianmediawikitrixie-security1:1.43.9+dfsg-1~deb13u1fixed
Debianmediawikibookworm1:1.39.17-1+deb12u2fixed
Debianmediawikibookworm-security1:1.39.17-1+deb12u2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianguzzlesourcesid7.4.5-1not yet assignedNot reported[1014492]
Debianguzzlesourceforky7.4.5-1not yet assignedNot reported[1014492]
Debianguzzlesourcetrixie7.4.5-1not yet assignedNot reported[1014492]
Debianguzzlesourcebookworm7.4.5-1not yet assignedNot reported[1014492]
Debianmediawikisourcesid1:1.35.7-1not yet assignedNot reportedNot reported
Debianmediawikisourceforky1:1.35.7-1not yet assignedNot reportedNot reported
Debianmediawikisourcetrixie1:1.35.7-1not yet assignedNot reportedNot reported
Debianmediawikisourcebookworm1:1.35.7-1not yet assignedNot reportedNot reported

[Debian bug #1014492]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [mediawiki]Unknown
    Details (4)
    • 1:1.39.17-1+deb12u2 · all · bookworm

      Fixed · Fixed: 1:1.35.7-1

      dsa · mediawiki · debian · bookworm

    • 1:1.39.17-1+deb12u2 · all · bookworm

      Fixed · Fixed: 1:1.35.7-1

      dsa · mediawiki · debian · bookworm

    • 1:1.39.17-1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:1.35.7-1

      dsa · mediawiki · debian · bookworm

    • 1:1.39.17-1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:1.35.7-1

      dsa · mediawiki · debian · bookworm

  • Source package: [mediawiki]

    Details (4)
    • 1:1.39.17-1+deb12u2 · all · bookworm

      Fixed · Fixed: 1:1.35.7-1

      dsa · mediawiki · debian · bookworm

    • 1:1.39.17-1+deb12u2 · all · bookworm

      Fixed · Fixed: 1:1.35.7-1

      dsa · mediawiki · debian · bookworm

    • 1:1.39.17-1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:1.35.7-1

      dsa · mediawiki · debian · bookworm

    • 1:1.39.17-1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:1.35.7-1

      dsa · mediawiki · debian · bookworm

  • Source package: [guzzle]

    Details (2)
    • 7.4.5-1 · all · bookworm

      Fixed · Fixed: 7.4.5-1

      dsa · guzzle · debian · bookworm

    • 7.4.5-1 · all · bookworm

      Fixed · Fixed: 7.4.5-1

      dsa · guzzle · debian · bookworm

Observed:

References