pygments
Affected
- introduced
1.2.2, fixed2.1(ecosystem)
Fixed versions
2.1
Fix
- Fixed version
2.1pip install --upgrade pygments==2.1
Advisory
Also known as: CVE-2015-8557, GHSA-fff8-4w9p-7v76
The record has no summary.
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.
Not rated by the source.
1.2.2, fixed 2.1 (ecosystem)2.1
2.1pip install --upgrade pygments==2.1Fix 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