CRITICAL 9.0 PyPI
Command Injection in Pygments
GHSA-fff8-4w9p-7v76 · CVE-2015-8557 · PYSEC-2016-32
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2015-8557
- WEB https://github.com/pygments/pygments/commit/db6dd826f8624179e563aaded391efe824462f51
- WEB https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff
- ADVISORY https://github.com/advisories/GHSA-fff8-4w9p-7v76
- PACKAGE https://github.com/pygments/pygments
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2016-32.yaml
- WEB https://security.gentoo.org/glsa/201612-05
- WEB http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html
- WEB http://seclists.org/fulldisclosure/2015/Oct/4
- WEB http://www.debian.org/security/2016/dsa-3445
- WEB http://www.openwall.com/lists/oss-security/2015/12/14/17
- WEB http://www.openwall.com/lists/oss-security/2015/12/14/6
- WEB http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- WEB http://www.ubuntu.com/usn/USN-2862-1
Ready to move
Start Securing
Free, no credit card | First findings in minutes