Skip to main content
HIGH

CVE-2021-27291

CVSS v3

7.5

HIGH

EPSS Score

2.4 %

exploit probability

CISA KEV

No

known exploited

Exploitation

SSVC status

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.

Technical details

Published
2021-03-17

Frequently asked questions

What is CVE-2021-27291?

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.

Is CVE-2021-27291 actively exploited?

Active exploitation of CVE-2021-27291 has not been confirmed. The EPSS score is 2.4%, indicating the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-27291?

CVE-2021-27291 has a CVSS v3 base score of 7.5 (HIGH severity).

Is CVE-2021-27291 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.

No credit card required · 500 free checks/month · Free API key