CVE-2021-20270

Name
CVE-2021-20270
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Issue Tracking https://bugzilla.redhat.com/show_bug.cgi?id=1922136
DEBIAN https://www.debian.org/security/2021/dsa-4889
MLIST https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html
MLIST https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html
MISC https://www.oracle.com/security-alerts/cpuoct2021.html

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:pygments:pygments:*:*:*:*:*:*:*:* pygments >= 1.5 <= 2.7.3

Vulnerable and fixed packages

Source package Branch Version Maintainer Status