CVE catalog

CVE-2022-29248

guzzle: CVE-2022-29248

[CVE catalog]

Severity
Medium
Source
[NVD] · [CVE record]
EPSS
1.36% · Oct 25, 2026

Guzzle is a PHP HTTP client. Guzzle prior to versions 6.5.6 and 7.4.3 contains a vulnerability with the cookie middleware. The vulnerability is that it is not checked if the cookie domain equals the domain of the server which sets the cookie via the Set-Cookie header, allowing a malicious server to set cookies for unrelated domains. The cookie middleware is disabled by default, so most library consumers will not be affected by this issue. Only those who manually add the cookie middleware to the handler stack or construct the client with ['cookies' => true] are affected. Moreover, those who do not use the same Guzzle client to call multiple domains and have disabled redirect forwarding are not affected by this vulnerability. Guzzle versions 6.5.6 and 7.4.3 contain a patch for this issue. As a workaround, turn off the cookie middleware.

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.4-1not yet assignedNot reported[1011636]
Debianguzzlesourceforky7.4.4-1not yet assignedNot reported[1011636]
Debianguzzlesourcetrixie7.4.4-1not yet assignedNot reported[1011636]
Debianguzzlesourcebookworm7.4.4-1not yet assignedNot reported[1011636]
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 #1011636]

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

      dsa · guzzle · debian · bookworm

    • 7.4.5-1 · all · bookworm

      Fixed · Fixed: 7.4.4-1

      dsa · guzzle · debian · bookworm

Observed:

References