CVE & CISA-KEV Catalog

CVE-2021-20270

HIGHEPSS 84th pctl
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
mediawikiDebian
Fixed in:1:1.35.2-1CVE-2021-20270
Fixed in:1:1.35.2-1CVE-2021-20270
Fixed in:1:1.35.2-1CVE-2021-20270
Fixed in:1:1.35.2-1CVE-2021-20270
pygmentsUbuntu
Fixed in:1.6+dfsg-1ubuntu1.1+esm1USN-4897-2
Fixed in:2.1+dfsg-1ubuntu0.1USN-4885-1
Fixed in:2.2.0+dfsg-1ubuntu0.1USN-4885-1
Fixed in:2.3.1+dfsg-1ubuntu2.1USN-4885-1
python-pygmentsUbuntu
Fixed in:1.6+dfsg-1ubuntu1.1+esm1USN-4897-2
Fixed in:2.1+dfsg-1ubuntu0.1USN-4885-1
Fixed in:2.2.0+dfsg-1ubuntu0.1USN-4885-1
Fixed in:2.3.1+dfsg-1ubuntu2.1USN-4885-1
python3-pygmentsUbuntu
Fixed in:1.6+dfsg-1ubuntu1.1+esm1USN-4897-2
Fixed in:2.1+dfsg-1ubuntu0.1USN-4885-1
Fixed in:2.2.0+dfsg-1ubuntu0.1USN-4885-1
Fixed in:2.3.1+dfsg-1ubuntu2.1USN-4885-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

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

Exploit Intelligence

2.71%probability of exploitation in 30 days
84thpercentile

Elevated risk: more likely to be exploited than 84% of all known CVEs.

References

Related Vulnerabilities

Other CWE-835 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-13935High7.588%-Fix
CVE-2020-36227High7.578%-Fix
CVE-2022-0778High7.571%-Fix
CVE-2019-14241High7.570%--
CVE-2017-16944High7.563%-Fix
CVE-2024-20353High8.663%KEV-
Embed a live status badge for CVE-2021-20270
CVE-2021-20270 severity badge

Markdown

[![CVE-2021-20270](https://tridentstack.com/cve/badge/CVE-2021-20270.svg)](https://tridentstack.com/cve/CVE-2021-20270)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-20270"><img src="https://tridentstack.com/cve/badge/CVE-2021-20270.svg" alt="CVE-2021-20270"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.