VDB
ALPINE-CVE-2021-27291
ALPINE-CVE-2021-27291
PUBLISHED
CVSS 7.5 HIGH
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.
Risk Scores
CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.11 | py3-pygments | 0, 1.3.1-r1, 1.4-r0 |
| Alpine:v3.12 | py3-pygments | 0, 1.3.1-r0, 1.3.1-r1 |
Timeline
- Mar 17, 2021 CVE Published
- Apr 30, 2026 Distribution Patch
- Jun 15, 2026 CVE Updated