ADVISORIES

Azure Linux Advisory

AZL-35137

CVE-2021-20270 affecting package python-pygments for versions less than 2.7.4-1

Details

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.

Affected packages

EcosystemPackageAffected versions
Azure Linux:3python-pygments
All versions before 2.7.4-1 (fixed in 2.7.4-1)

References