CVEvulnerability
CVE-2021-20270
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-03-23
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-835
Description
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.
Affected configurations
• pygments pygments (>= 1.5 <= 2.7.3)
• redhat openshift container platform 3.11
• redhat openshift container platform 4.0
• redhat openstack platform 10.0
• redhat software collections
• redhat enterprise linux 7.0
• redhat enterprise linux 8.0
• fedoraproject fedora 33
• debian debian linux 9.0
• debian debian linux 10.0
Related
Weakness · CWE (1)
- CWE-835 Loop with Unreachable Exit Condition weakness
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1922136 Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html Mailing List, Third Party Advisory
- https://www.debian.org/security/2021/dsa-4889 Third Party Advisory
- https://www.oracle.com/security-alerts/cpuoct2021.html Not Applicable, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1922136 Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html Mailing List, Third Party Advisory
- https://www.debian.org/security/2021/dsa-4889 Third Party Advisory
- https://www.oracle.com/security-alerts/cpuoct2021.html Not Applicable, Third Party Advisory