{"containers":{"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2021-05-06T22:06:22.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"},{"tags":["x_refsource_MISC"],"url":"https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"},{"name":"[debian-lts-announce] 20210319 [SECURITY] [DLA 2600-1] pygments security update","tags":["mailing-list","x_refsource_MLIST"],"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"},{"name":"DSA-4878","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"https://www.debian.org/security/2021/dsa-4878"},{"name":"DSA-4889","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"https://www.debian.org/security/2021/dsa-4889"},{"name":"[debian-lts-announce] 20210505 [SECURITY] [DLA 2648-1] mediawiki security update","tags":["mailing-list","x_refsource_MLIST"],"url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"},{"name":"FEDORA-2021-166dfc62b2","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55/"},{"name":"FEDORA-2021-3f975f68c8","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ/"},{"name":"[debian-lts-announce] 20210506 [SECURITY] [DLA 2648-2] mediawiki regression update","tags":["mailing-list","x_refsource_MLIST"],"url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-27291","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce","refsource":"MISC","url":"https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"},{"name":"https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14","refsource":"MISC","url":"https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"},{"name":"[debian-lts-announce] 20210319 [SECURITY] [DLA 2600-1] pygments security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"},{"name":"DSA-4878","refsource":"DEBIAN","url":"https://www.debian.org/security/2021/dsa-4878"},{"name":"DSA-4889","refsource":"DEBIAN","url":"https://www.debian.org/security/2021/dsa-4889"},{"name":"[debian-lts-announce] 20210505 [SECURITY] [DLA 2648-1] mediawiki security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"},{"name":"FEDORA-2021-166dfc62b2","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55/"},{"name":"FEDORA-2021-3f975f68c8","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ/"},{"name":"[debian-lts-announce] 20210506 [SECURITY] [DLA 2648-2] mediawiki regression update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T20:48:16.368Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"},{"name":"[debian-lts-announce] 20210319 [SECURITY] [DLA 2600-1] pygments security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"},{"name":"DSA-4878","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"https://www.debian.org/security/2021/dsa-4878"},{"name":"DSA-4889","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"https://www.debian.org/security/2021/dsa-4889"},{"name":"[debian-lts-announce] 20210505 [SECURITY] [DLA 2648-1] mediawiki security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"},{"name":"FEDORA-2021-166dfc62b2","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55/"},{"name":"FEDORA-2021-3f975f68c8","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ/"},{"name":"[debian-lts-announce] 20210506 [SECURITY] [DLA 2648-2] mediawiki regression update","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"}]}]},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2021-27291","datePublished":"2021-03-17T12:31:15.000Z","dateReserved":"2021-02-16T00:00:00.000Z","dateUpdated":"2024-08-03T20:48:16.368Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}