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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2021-03-23T16:40:22

Updated: 2024-08-03T17:37:23.034Z

Reserved: 2020-12-17T00:00:00

Link: CVE-2021-20270

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2021-03-23T17:15:13.827

Modified: 2021-12-10T17:04:10.437

Link: CVE-2021-20270

cve-icon Redhat

Severity : Moderate

Publid Date: 2020-12-10T00:00:00Z

Links: CVE-2021-20270 - Bugzilla