ADVISORIES

Amazon Linux Security Advisory

ALAS2-2023-2117

Amazon Linux 2 2017.12 - ALAS2-2023-2117: medium priority package update for python3-pygments

Details

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2021-27291: 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.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2python3-pygments
All versions before 2.2.0-3.amzn2.0.3 (fixed in 2.2.0-3.amzn2.0.3)
Amazon Linux:2python3-pygments-doc
All versions before 2.2.0-3.amzn2.0.3 (fixed in 2.2.0-3.amzn2.0.3)

References