CVE-2022-40896
- EPSS 0.05%
- Veröffentlicht 19.07.2023 15:15:10
- Zuletzt bearbeitet 21.11.2024 07:22:13
A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.
CVE-2021-20270
- EPSS 0.12%
- Veröffentlicht 23.03.2021 17:15:13
- Zuletzt bearbeitet 21.11.2024 05:46:15
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.
CVE-2021-27291
- EPSS 2.75%
- Veröffentlicht 17.03.2021 13:15:15
- Zuletzt bearbeitet 21.11.2024 05:57:45
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 i...
CVE-2015-8557
- EPSS 7%
- Veröffentlicht 08.01.2016 20:59:02
- Zuletzt bearbeitet 12.04.2025 10:46:40
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.