ADVISORIES

Red Hat VEX

RHVEX-CVE-2021-20270

python-pygments: Infinite loop in SML lexer may lead to DoS

Moderate No fix available CVE-2021-20270

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
Red Hat:enterprise_linux:7resource-agents
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7resource-agents-aliyun
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7resource-agents-gcp
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7resource-agents-sap
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7resource-agents-sap-hana
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7resource-agents-sap-hana-scaleout
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7sap-cluster-connector
All versions, no fix (out of support scope)

References