
CVE catalog
CVE-2022-31043
guzzle: CVE-2022-31043
- Severity
- Medium
- Source
- [NVD] · [CVE record]
- EPSS
- 1.96% · Oct 25, 2026
Guzzle is an open source PHP HTTP client. In affected versions `Authorization` 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, we should not forward the `Authorization` header on. This is much the same as to how we don't forward on the header if the host changes. Prior to this fix, `https` to `http` downgrades did not result in the `Authorization` header being removed, only changes to the host. 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 which would be to use their own redirect middleware. Alternately users may simply disable redirects all together if redirects are not expected or required.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | guzzle | sid | 7.15.5-1 | fixed |
| Debian | guzzle | forky | 7.15.5-1 | fixed |
| Debian | guzzle | trixie | 7.9.2-0.1 | fixed |
| Debian | guzzle | bookworm | 7.4.5-1 | fixed |
| Debian | mediawiki | sid | 1:1.43.11+dfsg-3 | fixed |
| Debian | mediawiki | forky | 1:1.43.11+dfsg-1 | fixed |
| Debian | mediawiki | trixie | 1:1.43.9+dfsg-1~deb13u1 | fixed |
| Debian | mediawiki | trixie-security | 1:1.43.9+dfsg-1~deb13u1 | fixed |
| Debian | mediawiki | bookworm | 1:1.39.17-1+deb12u2 | fixed |
| Debian | mediawiki | bookworm-security | 1:1.39.17-1+deb12u2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | guzzle | source | sid | 7.4.4-1 | not yet assigned | Not reported | [1012821] |
| Debian | guzzle | source | forky | 7.4.4-1 | not yet assigned | Not reported | [1012821] |
| Debian | guzzle | source | trixie | 7.4.4-1 | not yet assigned | Not reported | [1012821] |
| Debian | guzzle | source | bookworm | 7.4.4-1 | not yet assigned | Not reported | [1012821] |
| Debian | mediawiki | source | sid | 1:1.35.7-1 | not yet assigned | Not reported | Not reported |
| Debian | mediawiki | source | forky | 1:1.35.7-1 | not yet assigned | Not reported | Not reported |
| Debian | mediawiki | source | trixie | 1:1.35.7-1 | not yet assigned | Not reported | Not reported |
| Debian | mediawiki | source | bookworm | 1:1.35.7-1 | not yet assigned | Not reported | Not reported |
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 · bookwormFixed · Fixed:
1:1.35.7-1dsa · mediawiki · debian · bookworm
1:1.39.17-1+deb12u2· all · bookwormFixed · Fixed:
1:1.35.7-1dsa · mediawiki · debian · bookworm
1:1.39.17-1+deb12u2· all · bookworm-securityFixed · Fixed:
1:1.35.7-1dsa · mediawiki · debian · bookworm
1:1.39.17-1+deb12u2· all · bookworm-securityFixed · Fixed:
1:1.35.7-1dsa · mediawiki · debian · bookworm
- [mediawiki-classes]Unknown
Source package: [mediawiki]
Details (4)
1:1.39.17-1+deb12u2· all · bookwormFixed · Fixed:
1:1.35.7-1dsa · mediawiki · debian · bookworm
1:1.39.17-1+deb12u2· all · bookwormFixed · Fixed:
1:1.35.7-1dsa · mediawiki · debian · bookworm
1:1.39.17-1+deb12u2· all · bookworm-securityFixed · Fixed:
1:1.35.7-1dsa · mediawiki · debian · bookworm
1:1.39.17-1+deb12u2· all · bookworm-securityFixed · Fixed:
1:1.35.7-1dsa · mediawiki · debian · bookworm
- [php-guzzlehttp-guzzle]Unknown
Source package: [guzzle]
Details (2)
7.4.5-1· all · bookwormFixed · Fixed:
7.4.4-1dsa · guzzle · debian · bookworm
7.4.5-1· all · bookwormFixed · Fixed:
7.4.4-1dsa · guzzle · debian · bookworm
Observed: