Skip to content

CVE-2015-8557 Command Injection in Pygments

CriticalCVSS 9.0 EPSS 6.7% Public exploit
Published
Updated
Exploit status
Public exploit available

Description

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.

Affected products

ProductAffected versionsFixed in
pypi pygments(PyPI) >= 1.2.2, < 2.1 2.1
pypi pygments(PyPI) = 1.2.2 No fix listed
pypi pygments(PyPI) = 1.3 No fix listed
pypi pygments(PyPI) = 1.3.1 No fix listed
pypi pygments(PyPI) = 1.4 No fix listed
pypi pygments(PyPI) = 1.5 No fix listed
pypi pygments(PyPI) = 1.6 No fix listed
pypi pygments(PyPI) = 1.6rc1 No fix listed
pypi pygments(PyPI) = 2.0 No fix listed
pypi pygments(PyPI) = 2.0.1 No fix listed
pypi pygments(PyPI) = 2.0.2 No fix listed
pypi pygments(PyPI) = 2.0rc1 No fix listed
debian/pygments(Debian:12) < 2.0.1+dfsg-2 2.0.1+dfsg-2
debian/pygments(Debian:13) < 2.0.1+dfsg-2 2.0.1+dfsg-2
debian/pygments(Debian:14) < 2.0.1+dfsg-2 2.0.1+dfsg-2
Canonical Ubuntu Linux = 12.04 No fix listed
Canonical Ubuntu Linux = 14.04 No fix listed
Canonical Ubuntu Linux = 15.04 No fix listed
Canonical Ubuntu Linux = 15.10 No fix listed
pygments = 1.2.2 No fix listed
pygments = 1.3 No fix listed
pygments = 1.3.1 No fix listed
pygments = 1.4 No fix listed
pygments = 1.5 No fix listed
pygments = 1.6 No fix listed
Show 4 more
ProductAffected versionsFixed in
pygments = 1.6-rc1 No fix listed
pygments = 2.0 No fix listed
pygments = 2.0-rc1 No fix listed
pygments = 2.0.1 No fix listed

References