logo

CVE-2021-20270 pygments

Package

Manager: pip
Name: pygments
Vulnerable Version: >=1.5 <2.7.4

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00115 pctl0.30844

Details

Infinite Loop in Pygments 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.

Metadata

Created: 2021-04-20T16:35:47Z
Modified: 2024-10-14T16:12:14Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-9w8r-397f-prfh/GHSA-9w8r-397f-prfh.json
CWE IDs: ["CWE-835"]
Alternative ID: GHSA-9w8r-397f-prfh
Finding: F138
Auto approve: 1