pygments
Affected
- introduced
1.5, fixed2.7.4(ecosystem)
Fixed versions
2.7.4
Fix
- Fixed version
2.7.4pip install --upgrade pygments==2.7.4
Advisory
Also known as: CVE-2021-20270, GHSA-9w8r-397f-prfh
The record has no summary.
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.
Not rated by the source.
1.5, fixed 2.7.4 (ecosystem)2.7.4
2.7.4pip install --upgrade pygments==2.7.4Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0