Reliance on Cookies without Validation and Integrity Checking Affecting mediawiki package, versions <1:1.35.8-1~deb11u1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.33% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-MEDIAWIKI-2940653
  • published26 May 2022
  • disclosed25 May 2022

Introduced: 25 May 2022

CVE-2022-29248  (opens in a new tab)
CWE-565  (opens in a new tab)

How to fix?

Upgrade Debian:11 mediawiki to version 1:1.35.8-1~deb11u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mediawiki package and not the mediawiki package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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.

CVSS Scores

version 3.1