GHSA-pq64-v7f5-gqh8

    Dashboard / Vulnerabilities / GHSA-pq64-v7f5-gqh8

    GHSA-pq64-v7f5-gqh8

    Published: 29 Mar 2021Last Modified: 14 Oct 2024

    Summary: Pygments vulnerable to Regular Expression Denial of Service (ReDoS)

    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.

    Affected packages

    Package

    Name: pygments

    Purl: pkg:pypi/pygments

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 1.1
    Fixed -2.7.4

    Affected versions

    1.1
    1.1.1

    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
    GHSA-pq64-v7f5-gqh8 | CVE-DB