CVEvulnerability
CVE-2015-8557
9.0 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2016-01-08
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 9.0 CRITICAL — CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 9.3 HIGH — AV:N/AC:M/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-78
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 configurations
• canonical ubuntu linux 12.04
• canonical ubuntu linux 14.04
• canonical ubuntu linux 15.04
• canonical ubuntu linux 15.10
• pygments pygments 1.2.2
• pygments pygments 1.3
• pygments pygments 1.3.1
• pygments pygments 1.4
• pygments pygments 1.5
• pygments pygments 1.6
• pygments pygments 2.0
• pygments pygments 2.0.1
Related
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html packetstormsecurity.com
- http://seclists.org/fulldisclosure/2015/Oct/4 seclists.org
- http://www.debian.org/security/2016/dsa-3445 www.debian.org
- http://www.openwall.com/lists/oss-security/2015/12/14/17 www.openwall.com
- http://www.openwall.com/lists/oss-security/2015/12/14/6 www.openwall.com
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html www.oracle.com
- http://www.ubuntu.com/usn/USN-2862-1 www.ubuntu.com
- https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff Vendor Advisory
- https://security.gentoo.org/glsa/201612-05 security.gentoo.org
- http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html packetstormsecurity.com
- http://seclists.org/fulldisclosure/2015/Oct/4 seclists.org
- http://www.debian.org/security/2016/dsa-3445 www.debian.org
- http://www.openwall.com/lists/oss-security/2015/12/14/17 www.openwall.com
- http://www.openwall.com/lists/oss-security/2015/12/14/6 www.openwall.com
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html www.oracle.com
- http://www.ubuntu.com/usn/USN-2862-1 www.ubuntu.com
- https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff Vendor Advisory
- https://security.gentoo.org/glsa/201612-05 security.gentoo.org