CVE-2021-20270

Source
https://cve.org/CVERecord?id=CVE-2021-20270
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20270.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-20270
Aliases
Downstream
ALPINE (1)
ALSA (3)
AZL (2)
BELL (1)
CLEANSTART (1)
DEBIAN (1)
MGASA (1)
MINI (1)
OESA (1)
openSUSE (3)
RHSA (5)
RLSA (3)
SUSE (2)
UBUNTU (1)
Related
Published
2021-03-23T17:15:13Z
Modified
2026-08-22T18:49:58Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git /

Affected ranges

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20270.json"
unresolved_ranges
[
    {
        "events":  [
            {
                "introduced":  "1.5"
            },
            {
                "last_affected":  "2.7.3"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "3.11"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "4.0"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "10.0"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "7.0"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "8.0"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "33"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "9.0"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "10.0"
            }
        ]
    }
]