ADVISORIES

Vulnerability

CVE-2021-20270

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.

34 advisories report this vulnerability, across 12 ecosystems.

Advisories in PyPI

  • GHSA-9w8r-397f-prfh

    Infinite Loop in Pygments

    High CVE-2021-20270 PyPI Updated 14 October 2024
  • PYSEC-2021-140

    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…

    CVE-2021-20270 PyPI Updated 8 November 2023

References