CVE-2021-20270Published Mar 23, 2021 · Mar 23Updated Aug 22
Infinite Loop in Pygments
python-pygments
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| pygments PyPI |
|
|
Original 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.
From the CVE record · redhat