QID 355592

Date Published: 2023-07-24

QID 355592: Amazon Linux Security Advisory for python3-pygments : ALAS2-2023-2117

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. (
( CVE-2021-27291)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2023-2117 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355592

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2023-2117 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2023-2117.html