You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
CVE-2021-20270 - High Severity Vulnerability
Pygments is a syntax highlighting package written in Python.
Library home page: https://files.pythonhosted.org/packages/2d/68/106af3ae51daf807e9cdcba6a90e518954eb8b70341cee52995540a53ead/Pygments-2.6.1-py3-none-any.whl
Dependency Hierarchy:
Found in HEAD commit: 4e3aa8327ca6834d417f1c7de964019ba75cc2d1
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.
Publish Date: 2021-03-23
URL: CVE-2021-20270
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-9w8r-397f-prfh
Release Date: 2021-03-23
Fix Resolution: Pygments - 20.12.3
The text was updated successfully, but these errors were encountered: