CVE-2021-20270

State
Published
Severity
Not scored
Published
Mar 23, 2021
Updated
Aug 3, 2024
Reserved
Dec 17, 2020

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

Affected Products

ProductVersions
python-pygmentsn/a
  • python-pygments 2.7.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.