RSS   Vulnerabilities for 'Pygments'   RSS

2021-03-23
 
CVE-2021-20270

CWE-835
 

 
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.

 
2021-03-17
 
CVE-2021-27291

NVD-CWE-Other
 

 
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.

 
2016-01-08
 
CVE-2015-8557

 

 
The FontManager._get_nix_font_path function in formatters/img.py in Pygments 1.2.2 through 2.0.2 allows remote attackers to execute arbitrary commands via shell metacharacters in a font name.

 


Copyright 2024, cxsecurity.com

 

Back to Top