DEBIAN-CVE-2021-27291
Advisory lineage Upstream: 1 Downstream: 4
Upstream
Downstream
Published: 17 Mar 2021, 13:15
Last modified:28 Apr 2026, 20:22
Vulnerability Summary
Overall Risk (default)
medium
30/100 CVSS Score
7.5 HIGH
3.1 (osv_debian)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
17 Mar 2021, 13:15
Published
Vulnerability first disclosed
28 Apr 2026, 20:22
Last Modified
Vulnerability 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
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Systems
- debian•mediawiki
< 1:1.35.2-1 | < 1:1.35.2-1 | < 1:1.35.2-1 | < 1:1.35.2-1
- debian•pygments
< 2.7.1+dfsg-2.1 | < 2.7.1+dfsg-2.1 | < 2.7.1+dfsg-2.1 | < 2.7.1+dfsg-2.1