Loop with Unreachable Exit Condition ('Infinite Loop')

Affecting mediawiki package, versions <1:1.27.7-1~deb9u8

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

NVD Description

Note: Versions mentioned in the description apply to the upstream mediawiki package. See Remediation section below for Debian:9 relevant versions.

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.

Remediation

Upgrade Debian:9 mediawiki to version 1:1.27.7-1~deb9u8 or higher.

References

CVSS Score

7.5
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    None
  • Integrity
    None
  • Availability
    High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE
CVE-2021-20270
CWE
CWE-835
Snyk ID
SNYK-DEBIAN9-MEDIAWIKI-1244633
Disclosed
23 Mar, 2021
Published
06 Mar, 2021