pygments: CVE-2021-27291

Related Vulnerabilities: CVE-2021-27291  

Debian Bug report logs - #985574
pygments: CVE-2021-27291

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Sat, 20 Mar 2021 09:39:04 UTC

Severity: important

Tags: security, upstream

Found in versions pygments/2.3.1+dfsg-1+deb10u1, pygments/2.7.1+dfsg-2, pygments/2.3.1+dfsg-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Piotr Ożarowski <piotr@debian.org>:
Bug#985574; Package src:pygments. (Sat, 20 Mar 2021 09:39:06 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Piotr Ożarowski <piotr@debian.org>. (Sat, 20 Mar 2021 09:39:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: pygments: CVE-2021-27291
Date: Sat, 20 Mar 2021 10:36:28 +0100
Source: pygments
Version: 2.7.1+dfsg-2
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

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



Marked as found in versions pygments/2.3.1+dfsg-1. Request was from Salvatore Bonaccorso <carnil@debian.org> to control@bugs.debian.org. (Sat, 20 Mar 2021 09:45:02 GMT) (full text, mbox, link).


Marked as found in versions pygments/2.3.1+dfsg-1+deb10u1. Request was from Salvatore Bonaccorso <carnil@debian.org> to control@bugs.debian.org. (Sat, 20 Mar 2021 09:45:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Mar 21 12:15:42 2021; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.