CVE-2021-41800:
MediaWiki allows a denial of service
5.3
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
5/24/2022
Updated
2/1/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
mediawiki/core | composer | < 1.36.2 | 1.36.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper PoolCounter integration in Special:Contributions handling. The commit diff shows the fix moved the 'nocontribs' check and query execution logic INSIDE the PoolCounterWorkViaCallback's doWork closure. This indicates the original code executed these operations without proper PoolCounter protection, allowing uncontrolled resource consumption when processing expensive SQL queries for user contributions. The execute() method's structure prior to the patch failed to properly limit concurrent long-running queries through PoolCounter mechanisms.