ALPINE-CVE-2021-27291
Advisory lineage Upstream: 1 Downstream: 0
Upstream
Published: 17 Mar 2021, 13:15
Last modified:19 Nov 2025, 06:19
Vulnerability Summary
Overall Risk (default)
medium
30/100 CVSS Score
7.5 HIGH
3.1 (osv_alpine)
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
19 Nov 2025, 06:19
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
- alpine•py3-pygments
< 2.5.2-r1 | < 2.6.1-r1