CVE-2015-8557
CVE-2015-8557
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.5 · Critical · EPSS 6.7% · Fix available
- Published
- Updated
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
pygments Debian:12
- Affected ranges
- ECOSYSTEM: < 2.0.1+dfsg-2
Update to 2.0.1+dfsg-2
pygments Debian:13
- Affected ranges
- ECOSYSTEM: < 2.0.1+dfsg-2
Update to 2.0.1+dfsg-2
pygments Debian:14
- Affected ranges
- ECOSYSTEM: < 2.0.1+dfsg-2
Update to 2.0.1+dfsg-2
pygments PyPI
- Versions
- 1.2.2
- 1.3
- 1.3.1
- 1.4
- 1.5
- 1.6
- 1.6rc1
- 2.0
- 2.0.1
- 2.0.2
- 2.0rc1
- Affected ranges
- ECOSYSTEM: ≥ 1.2.2, < 2.1
Update to 2.1
pygments Ubuntu:14.04:LTS
- Versions
- 1.6+dfsg-1
- 1.6+dfsg-1build1
- 1.6+dfsg-1ubuntu1
- Affected ranges
- ECOSYSTEM: < 1.6+dfsg-1ubuntu1.1
Update to 1.6+dfsg-1ubuntu1.1
Original sources
- http://www.ubuntu.com/usn/USN-2862-1
- http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html
- http://www.openwall.com/lists/oss-security/2015/12/14/6
- http://www.openwall.com/lists/oss-security/2015/12/14/17
- http://seclists.org/fulldisclosure/2015/Oct/4
- http://www.debian.org/security/2016/dsa-3445
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- https://security.gentoo.org/glsa/201612-05
- https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff
- https://nvd.nist.gov/vuln/detail/CVE-2015-8557