CVE-2021-27291

In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions

published March 17, 2021

CVSS
—
EPSS
4%
Percentile
90.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.03906 · 90.2th percentile
Published
2021-03-17T12:31Z
EPSS history
Timeline
  • 17 MAR 12:31Z
    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions
    cvelistv5