Infinite Loop in Pygments
High severity
GitHub Reviewed
Published
Apr 20, 2021
to the GitHub Advisory Database
•
Updated Oct 14, 2024
Description
Published by the National Vulnerability Database
Mar 23, 2021
Reviewed
Apr 12, 2021
Published to the GitHub Advisory Database
Apr 20, 2021
Last updated
Oct 14, 2024
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.
References