Bug 2009517 (CVE-2021-41800)

Summary: CVE-2021-41800 mediawiki: mishandled PoolCounter's protection may result DoS when visiting Special:Contributions.
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aos-bugs, Axel.Thimm, bmontgom, eparis, jburrell, jokerman, mike, nstielau, puiterwijk, shurley, sponnaga, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mediawiki 1.31.16, mediawiki 1.35.4, mediawiki 1.36.2 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in MediaWiki, where Visiting Special:Contributions may result in a long query due to mishandled PoolCounter protection. This issue may cause resource exhaustion, resulting in a denial of service. The highest threat from this vulnerability is to system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-28 09:08:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2010199    
Bug Blocks: 2009518    

Description Pedro Sampaio 2021-09-30 20:26:23 UTC
A flaw was found in Mediawiki before 1.31.16, 1.35.4 and 1.36.2. The call to $pager->getNumRows() itself triggers execution of the database query backing the page.

References:

https://lists.wikimedia.org/hyperkitty/list/mediawiki-announce@lists.wikimedia.org/message/2IFS5CM2YV4VMSODPX3J2LFHKSEWVFV5/

Comment 1 Przemyslaw Roguski 2021-10-04 07:45:39 UTC
Created mediawiki tracking bugs for this issue:

Affects: fedora-all [bug 2010199]