VYPR

rpm package

opensuse/python-Pygments&distro=openSUSE Leap 15.2

pkg:rpm/opensuse/python-Pygments&distro=openSUSE%20Leap%2015.2

Vulnerabilities (2)

  • CVE-2021-20270Mar 23, 2021
    affected < 2.6.1-lp152.5.9.1fixed 2.6.1-lp152.5.9.1

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.

  • CVE-2021-27291Mar 17, 2021
    affected < 2.6.1-lp152.5.12.1fixed 2.6.1-lp152.5.12.1

    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