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.
- Score
- CVSS 3.1 7.5 High
- Status
- Modified - secalert@redhat.com
- Published
- 2021-03-23
- Last modified
- 2024-08-03
- Weaknesses
- CWE-835
Affected products
- Debian Linux (Debian)
- Fedora (Fedoraproject)
- Pygments (Pygments)
- Enterprise Linux (Redhat)
- Openshift Container Platform (Redhat)
- Openstack Platform (Redhat)
- Software Collections (Redhat)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1922136
- https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html
- https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html
- https://www.debian.org/security/2021/dsa-4889
- https://www.oracle.com/security-alerts/cpuoct2021.html