Alerts This Week
Warning Icon 1 714
Alerts This Week
Warning Icon 1 714

Mageia: 2021-0218 Critical: MediaWiki Denial of Service Issues

mageia
Calendar Grey May 22, 2021
Dist Mageia Esm H88
Crucial security enhancements for MediaWiki address multiple weaknesses to bolster application protection, launched on June 15, 2022.
An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated...

Summary

An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword (CVE-2021-20270).
A deadlock vulnerability was found in 'github.com/containers/storage' in versions before 1.28.1. When a container image is processed, each layer is unpacked using `tar`. If one of those layers is not a valid `tar` archive this causes an error leading to an unexpected situation where the code indefinitely waits for the tar unpacked stream, which never finishes. An attacker could use this vulnerability to craft a malicious image, which when downloaded and stored by an application using containers/storage, would then cause a deadlock leading to a Denial of Service (DoS) (CVE-2021-27291).
An issue was discovered in MediaWiki before 1.31.13 and 1.32.x through 1.35.x before 1.35.2. When using the MediaWiki API to "protect" a page, a user is c...

Read the Full Advisory

References

- https://bugs.mageia.org/show_bug.cgi?id=28883

- https://lists.debian.org/debian-security-announce/2021/msg00070.html

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

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

- https://www.cve.org/CVERecord?id=CVE-2021-20270

- https://www.cve.org/CVERecord?id=CVE-2021-27291

- https://www.cve.org/CVERecord?id=CVE-2021-30152

- https://www.cve.org/CVERecord?id=CVE-2021-30155

- https://www.cve.org/CVERecord?id=CVE-2021-30158

- https://www.cve.org/CVERecord?id=CVE-2021-30159

Resolution

SRPMS

- 8/core/mediawiki-1.35.2-1.mga8

- 7/core/mediawiki-1.31.14-1.mga7

Severity
critical
Lowest
Low
Medium
High
Critical

Publication date: 23 May 2021
URL: https://advisories.mageia.org/MGASA-2021-0218.html
Type: security
CVE: CVE-2021-20270, CVE-2021-27291, CVE-2021-30152, CVE-2021-30155, CVE-2021-30158, CVE-2021-30159

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here