CVE-2021-27291 - CVE House
Back to Database
Status published High CVE-2021-27291

In pygments 1.1+, fixed in 2.7.4, the lexers used to...

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-27291

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

pygments, debian linux, fedora
Vulnerable Versions:
1.1, 9.0, 10.0, 32, 33

Timeline

Official Publish: March 17th, 2021
Last Modified: August 3rd, 2024
Added to House: July 21st, 2026

CVSS Vectors

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

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.