CVE & CISA-KEV Catalog

CVE-2021-27291

HIGHEPSS 89th pctl
7.5
CVSS v3
NVD

Description

In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.

How to fix

Remediation Available
mediawikiDebian
Fixed in:1:1.35.2-1CVE-2021-27291
Fixed in:1:1.35.2-1CVE-2021-27291
Fixed in:1:1.35.2-1CVE-2021-27291
Fixed in:1:1.35.2-1CVE-2021-27291
pygmentsUbuntu
Fixed in:1.6+dfsg-1ubuntu1.1+esm1USN-4897-2
Fixed in:2.1+dfsg-1ubuntu0.2USN-4897-1
Fixed in:2.2.0+dfsg-1ubuntu0.2USN-4897-1
Fixed in:2.3.1+dfsg-1ubuntu2.2USN-4897-1
python-pygmentsUbuntu
Fixed in:1.6+dfsg-1ubuntu1.1+esm1USN-4897-2
Fixed in:2.1+dfsg-1ubuntu0.2USN-4897-1
Fixed in:2.2.0+dfsg-1ubuntu0.2USN-4897-1
Fixed in:2.3.1+dfsg-1ubuntu2.2USN-4897-1
python3-pygmentsUbuntu
Fixed in:1.6+dfsg-1ubuntu1.1+esm1USN-4897-2
Fixed in:2.1+dfsg-1ubuntu0.2USN-4897-1
Fixed in:2.2.0+dfsg-1ubuntu0.2USN-4897-1
Fixed in:2.3.1+dfsg-1ubuntu2.2USN-4897-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

3.83%probability of exploitation in 30 days
89thpercentile

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

References

Embed a live status badge for CVE-2021-27291
CVE-2021-27291 severity badge

Markdown

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

HTML

<a href="https://tridentstack.com/cve/CVE-2021-27291"><img src="https://tridentstack.com/cve/badge/CVE-2021-27291.svg" alt="CVE-2021-27291"></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.