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

No history.

Information

Published : 2021-03-23 17:15

Updated : 2024-02-28 18:08


NVD link : CVE-2021-20270

Mitre link : CVE-2021-20270

CVE.ORG link : CVE-2021-20270


JSON object : View

Products Affected

redhat

  • software_collections
  • openshift_container_platform
  • openstack_platform
  • enterprise_linux

debian

  • debian_linux

fedoraproject

  • fedora

pygments

  • pygments
CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')