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, PYSEC-2016-32
Command Injection in Pygments
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.
Critical Basis: The source's own band: CRITICAL
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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0