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
| Product | Affected versions | Fixed 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
| Product | Affected versions | Fixed 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
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- bitbucket.org vendor-advisory
- github.com vendor-advisory
- github.com product
- github.com
- GLSA-201612-05 vendor-advisory
- packetstormsecurity.com exploit
- 20151001 Shell Injection in Pygments FontManager._get_nix_font_path mailing-list
- DSA-3445 vendor-advisory
- [oss-security] 20151214 Re: CVE request: Shell Injection in Pygments FontManager._get_nix_font_path mailing-list
- [oss-security] 20151214 CVE request: Shell Injection in Pygments FontManager._get_nix_font_path mailing-list
- www.oracle.com
- USN-2862-1 vendor-advisory
- Debian Security Tracker CVE-2015-8557 vendor-advisory
- bugs.debian.org issue-tracking