7.5

CVE-2021-27291: debian debian_linux

Modified
AliasesALPINE-CVE-2021-27291MGASA-2021-0245SUSE-SU-2021:3814-1
Published 17-03-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-27291 is a high (CVSS 7.5) vulnerability in debian debian_linux. EPSS estimates a 3.91% chance of exploitation in the next 30 days, higher than 90.2% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
3.91%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 9 · Related 1

Timeline

  1. 17-03-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 5 sources · 3 versions

EPSS trend

Probability

3.91%

Chance of exploitation in the next 30 days

Percentile

90%

Versus all other CVEs

30-day change

No change 0.00 pp

From 3.91% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    B1A2Cc0C68A35C57188575Eb496De5Ce

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Suse15 products
  • python-Pygments&distro=SUSE Enterprise Storage 6< 2.6.1-7.10.1
  • python-Pygments&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS< 2.6.1-7.10.1
  • python-Pygments&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 2.6.1-7.10.1
  • python-Pygments&distro=SUSE Linux Enterprise High Performance Computing 15-ESPOS< 2.2.0-4.9.1
  • python-Pygments&distro=SUSE Linux Enterprise High Performance Computing 15-LTSS< 2.2.0-4.9.1
Debian3 products
  • mediawiki< 1:1.35.2-1
  • pygments< 2.3.1+dfsg-1+deb10u2 | < 2.2.0+dfsg-1+deb9u2 | < 2.7.1+dfsg-2.1
  • debian_linuxEOL9.0 | 10.0
Opensuse2 products
  • python-Pygments&distro=openSUSE Leap 15.2< 2.6.1-lp152.5.12.1
  • python-Pygments&distro=openSUSE Leap 15.3< 2.6.1-4.3.1 | < 2.2.0-4.9.1
Ubuntu2 products
  • ericAll versions (No fix recorded)
  • pygments< 1.6+dfsg-1ubuntu1.1+esm1 | < 2.1+dfsg-1ubuntu0.2 | < 2.2.0+dfsg-1ubuntu0.2 | < 2.3.1+dfsg-1ubuntu2.2
Alpine1 product
  • py3-pygments< 2.5.2-r1 | < 2.6.1-r1
Fedoraproject1 product
Mageia1 product
  • python-pygments< 2.3.1-1.2.mga7
Pygments1 product
PyPI1 product
  • pygments< 2e7e8c4a7b318f4032493773732754e418279a14 | ≥ 1.1, < 2.7.4

9 vendors · 27 products

References

35 links
Show all 35 references