Infinite Loop in Pygments
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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2021-20270US | high7.5 | — | ||
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… | ||||
02
references
External citations — patches, advisories, analysis.
- https://bugzilla.redhat.com/show_bug.cgi?id=1922136WEB
- https://github.com/pygments/pygmentsPACKAGE
- https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yamlWEB
- https://lists.debian.org/debian-lts-announce/2021/05/msg00003.htmlWEB
- https://lists.debian.org/debian-lts-announce/2021/05/msg00006.htmlWEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-20270ADVISORY
- https://www.debian.org/security/2021/dsa-4889WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan