Bug 2009511 (CVE-2021-41799)

Summary: CVE-2021-41799 mediawiki: ApiQueryBacklinks can cause a full table scan and as a result DoS
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:
When processing ApiQueryBacklinks, the full db table scan might be initiated what can cause resource exhaustion and in a consequence the denial of service (DoS).
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-02 00:21:12 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: 2010201    
Bug Blocks: 2009518    

Description Pedro Sampaio 2021-09-30 20:04:14 UTC
A flaw was found in Mediawiki before 1.31.16, 1.35.4 and 1.36.2. An improper database query in ApiQueryBacklinks may lead to a full table scan leading to exposure of confidential information.

References:

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

Comment 1 juneau 2021-10-01 14:25:21 UTC
OSD affected/ooss.

Comment 2 Product Security DevOps Team 2021-10-02 00:21:12 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-41799

Comment 3 Przemyslaw Roguski 2021-10-04 07:46:41 UTC
Created mediawiki tracking bugs for this issue:

Affects: fedora-all [bug 2010201]