CVE-2021-42040

An issue was discovered in MediaWiki through 1.36.2. A parser function related to loop control allowed for an infinite loop (and php-fpm hang) within the Loops extension because egLoopsCountLimit is mishandled. This could lead to memory exhaustion.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*

History

14 Oct 2021, 18:52

Type Values Removed Values Added
References (MISC) https://gerrit.wikimedia.org/r/q/I0caf6f129f94612b5bcf406a171aa5ffedea1f80 - (MISC) https://gerrit.wikimedia.org/r/q/I0caf6f129f94612b5bcf406a171aa5ffedea1f80 - Patch, Vendor Advisory
References (MISC) https://phabricator.wikimedia.org/T287347 - (MISC) https://phabricator.wikimedia.org/T287347 - Patch, Vendor Advisory
CPE cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 7.5
CWE CWE-835

06 Oct 2021, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-10-06 21:15

Updated : 2023-12-10 14:09


NVD link : CVE-2021-42040

Mitre link : CVE-2021-42040

CVE.ORG link : CVE-2021-42040


JSON object : View

Products Affected

mediawiki

  • mediawiki
CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')