vulnerability
Amazon Linux AMI 2: CVE-2021-27291: Security patch for python-pygments, python3-pygments (Multiple Advisories)
Severity | CVSS | Published | Added | Modified |
---|---|---|---|---|
5 | (AV:N/AC:L/Au:N/C:N/I:N/A:P) | Mar 17, 2021 | Jul 21, 2023 | Nov 26, 2024 |
Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:N/A:P)
Published
Mar 17, 2021
Added
Jul 21, 2023
Modified
Nov 26, 2024
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.
Solution(s)
amazon-linux-ami-2-upgrade-python-pygmentsamazon-linux-ami-2-upgrade-python3-pygmentsamazon-linux-ami-2-upgrade-python3-pygments-doc

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.