vulnerability

Huawei EulerOS: CVE-2021-20270: python-pygments security update

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:N/A:P)
Published
Mar 23, 2021
Added
Jul 2, 2021
Modified
Apr 1, 2026

Description

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.

Solutions

huawei-euleros-2_0_sp9-upgrade-python-pygments-helphuawei-euleros-2_0_sp9-upgrade-python3-pygments
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.