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.
References
| Link | Resource |
|---|---|
| https://gerrit.wikimedia.org/r/q/I0caf6f129f94612b5bcf406a171aa5ffedea1f80 | Patch Vendor Advisory |
| https://phabricator.wikimedia.org/T287347 | Patch Vendor Advisory |
| https://gerrit.wikimedia.org/r/q/I0caf6f129f94612b5bcf406a171aa5ffedea1f80 | Patch Vendor Advisory |
| https://phabricator.wikimedia.org/T287347 | Patch Vendor Advisory |
Configurations
History
21 Nov 2024, 06:27
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://gerrit.wikimedia.org/r/q/I0caf6f129f94612b5bcf406a171aa5ffedea1f80 - Patch, Vendor Advisory | |
| References | () https://phabricator.wikimedia.org/T287347 - Patch, Vendor Advisory |
14 Oct 2021, 18:52
| Type | Values Removed | Values Added |
|---|---|---|
| References | (MISC) https://phabricator.wikimedia.org/T287347 - Patch, Vendor Advisory | |
| References | (MISC) https://gerrit.wikimedia.org/r/q/I0caf6f129f94612b5bcf406a171aa5ffedea1f80 - Patch, Vendor Advisory | |
| CVSS |
v2 : v3 : |
v2 : 5.0
v3 : 7.5 |
| CWE | CWE-835 | |
| CPE | cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:* |
06 Oct 2021, 21:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2021-10-06 21:15
Updated : 2024-11-21 06:27
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')
