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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:pygments:pygments:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack_platform:10.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*

Configuration 3 (hide)

cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*

Configuration 4 (hide)

OR cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

History

10 Dec 2021, 17:04

Type Values Removed Values Added
References (MLIST) https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html - (MLIST) https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html - Mailing List, Third Party Advisory
References (MISC) https://www.oracle.com/security-alerts/cpuoct2021.html - (MISC) https://www.oracle.com/security-alerts/cpuoct2021.html - Not Applicable, Third Party Advisory
References (DEBIAN) https://www.debian.org/security/2021/dsa-4889 - (DEBIAN) https://www.debian.org/security/2021/dsa-4889 - Third Party Advisory
References (MLIST) https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html - (MLIST) https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html - Mailing List, Third Party Advisory
CPE cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

20 Oct 2021, 11:15

Type Values Removed Values Added
References
  • (MISC) https://www.oracle.com/security-alerts/cpuoct2021.html -
  • (MLIST) https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html -

05 May 2021, 08:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html -

11 Apr 2021, 12:15

Type Values Removed Values Added
References
  • (DEBIAN) https://www.debian.org/security/2021/dsa-4889 -

25 Mar 2021, 19:54

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 7.5
References (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1922136 - (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1922136 - Issue Tracking, Patch, Third Party Advisory
CPE cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
cpe:2.3:a:pygments:pygments:*:*:*:*:*:*:*:*
cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack_platform:10.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*

23 Mar 2021, 17:28

Type Values Removed Values Added
New CVE

Information

Published : 2021-03-23 17:15

Updated : 2023-12-10 13:41


NVD link : CVE-2021-20270

Mitre link : CVE-2021-20270

CVE.ORG link : CVE-2021-20270


JSON object : View

Products Affected

redhat

  • software_collections
  • enterprise_linux
  • openshift_container_platform
  • openstack_platform

pygments

  • pygments

fedoraproject

  • fedora

debian

  • debian_linux
CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')