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.
References
Link | Resource |
---|---|
https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce | Exploit Third Party Advisory |
https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14 | Patch Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html | Mailing List Third Party Advisory |
https://www.debian.org/security/2021/dsa-4878 | Third Party Advisory |
https://www.debian.org/security/2021/dsa-4889 | Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ/ | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55/ | Mailing List Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html | Mailing List Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
History
23 May 2022, 22:35
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
|
References |
|
|
References | (MLIST) https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html - Mailing List, Third Party Advisory | |
References | (DEBIAN) https://www.debian.org/security/2021/dsa-4878 - Third Party Advisory | |
References | (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ/ - Mailing List, Third Party Advisory | |
References | (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55/ - Mailing List, Third Party Advisory | |
References | (DEBIAN) https://www.debian.org/security/2021/dsa-4889 - Third Party Advisory | |
First Time |
Fedoraproject
Debian debian Linux Debian Fedoraproject fedora |
06 May 2021, 14:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
05 May 2021, 08:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
11 Apr 2021, 12:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
30 Mar 2021, 00:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
24 Mar 2021, 02:03
Type | Values Removed | Values Added |
---|---|---|
References | (MLIST) https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html - Mailing List, Third Party Advisory | |
References | (MISC) https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14 - Patch, Third Party Advisory | |
References | (MISC) https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce - Exploit, Third Party Advisory | |
CWE | NVD-CWE-Other | |
CPE | cpe:2.3:a:pygments:pygments:*:*:*:*:*:*:*:* | |
CVSS |
v2 : v3 : |
v2 : 5.0
v3 : 7.5 |
19 Mar 2021, 21:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
17 Mar 2021, 13:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2021-03-17 13:15
Updated : 2022-05-23 22:35
NVD link : CVE-2021-27291
Mitre link : CVE-2021-27291
JSON object : View
Products Affected
fedoraproject
- fedora
debian
- debian_linux
pygments
- pygments
CWE