7.5high
An issue was discovered in MediaWiki through 1.36.2.
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.16% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- BIT-MEDIAWIKI-2021-42040
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| mediawiki mediawiki | up to 1.36.2 | NVD |
| mediawiki (Bitnami) | before 1.36.3 | Bitnami Vulnerability Database |
All scores
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha detectado un problema en MediaWiki versiones hasta 1.36.2. Una función del analizador relacionada con el control de bucles permitía un bucle infinito (y un cuelgue de php-fpm) dentro de la extensión Loops porque egLoopsCountLimit es manejado inapropiadamente. Esto podía conllevar a un agotamiento de la memoria
References
| https://phabricator.wikimedia.org/T287347 | patch, vendor-advisory, web | |
| https://gerrit.wikimedia.org/r/q/I0caf6f129f94612b5bcf406a171aa5ffedea1f80 | patch, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-42040 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-42040 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-42040 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MEDIAWIKI-2021-42040 changed 2025-04-03 | Apache-2.0 |