~ / search / GHSA-9w8r-397f-prfh

GHSA-9w8r-397f-prfh

Infinite Loop in Pygments

Source: GitHub Advisory Database (reviewed) High CVE-2021-20270

Packages

EcosystemPackageAffectedFixed in
PyPI Pygments >= 1.5, < 2.7.4 2.7.4

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.