MGASA-2021-0245

    Dashboard / Vulnerabilities / MGASA-2021-0245

    MGASA-2021-0245

    Published: 13 Jun 2021Last Modified: 16 Apr 2026
    Upstream:

    Summary: Updated python-pygments packages fix a security vulnerability

    Details: 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).

    Affected packages

    Package

    Name: python-pygments

    Purl: pkg:rpm/mageia/python-pygments?arch=source&distro=mageia-7

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.3.1-1.2.mga7

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    MGASA-2021-0245 | CVE-DB