CVE-2021-27291
- State
- Published
- Severity
- Not scored
- Published
- Mar 17, 2021
- Updated
- Aug 3, 2024
- Reserved
- Feb 16, 2021
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce
- https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14
- [debian-lts-announce] 20210319 [SECURITY] [DLA 2600-1] pygments security updatemailing-list
- DSA-4878vendor-advisory
- DSA-4889vendor-advisory
- [debian-lts-announce] 20210505 [SECURITY] [DLA 2648-1] mediawiki security updatemailing-list
- FEDORA-2021-166dfc62b2vendor-advisory
- FEDORA-2021-3f975f68c8vendor-advisory
- [debian-lts-announce] 20210506 [SECURITY] [DLA 2648-2] mediawiki regression updatemailing-list
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.