Source: pygments
Version: 2.7.1+dfsg-2
Severity: important
Tags: security upstream
X-Debbugs-Cc: [email protected], Debian Security Team <[email protected]>

Hi,

The following vulnerability was published for pygments.

CVE-2021-27291[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2021-27291
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27291
[1] 
https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

Reply via email to