Infinite Loop in Pygments
High severity
GitHub Reviewed
Published
Apr 20, 2021
to the GitHub Advisory Database
•
Updated Aug 16, 2023
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
Aug 16, 2023
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