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
May 18, 2021
Modified
Aug 13, 2025

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_sp8-upgrade-python2-pygmentshuawei-euleros-2_0_sp8-upgrade-python3-pygments
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.