CVE-2021-20270

high
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.

References

https://bugzilla.redhat.com/show_bug.cgi?id=1922136

https://www.debian.org/security/2021/dsa-4889

https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html

https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html

https://www.oracle.com/security-alerts/cpuoct2021.html

Details

Source: MITRE

Published: 2021-03-23

Updated: 2021-12-10

Type: CWE-835

Risk Information

CVSS v2

Base Score: 5

Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P

Impact Score: 2.9

Exploitability Score: 10

Severity: MEDIUM

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Impact Score: 3.6

Exploitability Score: 3.9

Severity: HIGH

Tenable Plugins

View all (23 total)

IDNameProductFamilySeverity
155987Oracle Linux 8 : python27:2.7 (ELSA-2021-4151)NessusOracle Linux Local Security Checks
critical
155978Oracle Linux 8 : python36:3.6 (ELSA-2021-4150)NessusOracle Linux Local Security Checks
high
155615Oracle Linux 8 : resource-agents (ELSA-2021-9553)NessusOracle Linux Local Security Checks
high
155197RHEL 8 : python36:3.6 (RHSA-2021:4150)NessusRed Hat Local Security Checks
high
155151RHEL 8 : python27:2.7 (RHSA-2021:4151)NessusRed Hat Local Security Checks
critical
155105RHEL 8 : resource-agents (RHSA-2021:4139)NessusRed Hat Local Security Checks
high
155049CentOS 8 : python27:2.7 (CESA-2021:4151)NessusCentOS Local Security Checks
critical
155047CentOS 8 : python36:3.6 (CESA-2021:4150)NessusCentOS Local Security Checks
high
155029CentOS 8 : resource-agents (CESA-2021:4139)NessusCentOS Local Security Checks
high
154761openSUSE 15 Security Update : python-Pygments (openSUSE-SU-2021:1402-1)NessusSuSE Local Security Checks
high
154319SUSE SLED15 / SLES15 Security Update : python-Pygments (SUSE-SU-2021:3473-1)NessusSuSE Local Security Checks
high
153356EulerOS 2.0 SP2 : python-pygments (EulerOS-SA-2021-2441)NessusHuawei Local Security Checks
high
152778RHEL 7 : python27 (RHSA-2021:3252)NessusRed Hat Local Security Checks
critical
151260EulerOS 2.0 SP9 : python-pygments (EulerOS-SA-2021-2054)NessusHuawei Local Security Checks
high
151254EulerOS 2.0 SP9 : python-pygments (EulerOS-SA-2021-2065)NessusHuawei Local Security Checks
high
150919Photon OS 4.0: Python3 PHSA-2021-4.0-0047NessusPhotonOS Local Security Checks
high
150916Photon OS 3.0: Python PHSA-2021-3.0-0253NessusPhotonOS Local Security Checks
high
149561EulerOS 2.0 SP8 : python-pygments (EulerOS-SA-2021-1887)NessusHuawei Local Security Checks
high
149344Debian DLA-2648-2 : mediawiki regression updateNessusDebian Local Security Checks
medium
148441Debian DSA-4889-1 : mediawiki - security updateNessusDebian Local Security Checks
medium
147969Ubuntu 16.04 LTS / 18.04 LTS / 20.04 LTS / 20.10 : Pygments vulnerability (USN-4885-1)NessusUbuntu Local Security Checks
high
147793Debian DSA-4870-1 : pygments - security updateNessusDebian Local Security Checks
high
147772Debian DLA-2590-1 : pygments security updateNessusDebian Local Security Checks
high