CVE Database
/

CVE-2021-20270

Back to search

CVE-2021-20270

Published: Mar 23, 2021

Modified: Aug 3, 2024

PUBLISHED

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.

VendorProductVersions

n/a

python-pygments

affected
python-pygments 2.7.4

Weaknesses (CWE)

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now