VYPR
High severityNVD Advisory· Published Mar 17, 2021· Updated Aug 3, 2024

CVE-2021-27291

CVE-2021-27291

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
PygmentsPyPI
>= 1.1, < 2.7.42.7.4

Affected products

95

Patches

Vulnerability mechanics

References

14

News mentions

0

No linked articles in our index yet.