CVE-2015-8557
Summary
| CVE | CVE-2015-8557 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2016-01-08 20:59:02 UTC |
| Updated | 2026-05-06 22:30:45 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.0 9 CRITICAL from [email protected]
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Problem Types: CWE-78 | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.0 | [email protected] | Primary | 9 | CRITICAL | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| 2.0 | [email protected] | Primary | 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
CVSS v3.0 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
ChangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
CompleteIntegrity
CompleteAvailability
CompleteAV:N/AC:M/Au:N/C:C/I:C/A:C
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Canonical | Ubuntu Linux | 12.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 14.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 15.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 15.10 | All | All | All |
| Application | Pygments | Pygments | 1.2.2 | All | All | All |
| Application | Pygments | Pygments | 1.3 | All | All | All |
| Application | Pygments | Pygments | 1.3.1 | All | All | All |
| Application | Pygments | Pygments | 1.4 | All | All | All |
| Application | Pygments | Pygments | 1.5 | All | All | All |
| Application | Pygments | Pygments | 1.6 | All | All | All |
| Application | Pygments | Pygments | 1.6 | rc1 | All | All |
| Application | Pygments | Pygments | 2.0 | All | All | All |
| Application | Pygments | Pygments | 2.0 | rc1 | All | All |
| Application | Pygments | Pygments | 2.0.1 | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Full Disclosure: Shell Injection in Pygments FontManager._get_nix_font_path | af854a3a-2127-422b-91ae-364da2661108 | seclists.org | |
| Pygments FontManager._get_nix_font_path Shell Injection ≈ Packet Storm | af854a3a-2127-422b-91ae-364da2661108 | packetstormsecurity.com | |
| oss-security - Re: CVE request: Shell Injection in Pygments FontManager._get_nix_font_path | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| birkenfeld / pygments-main / Pull request #501: Fix Shell Injection in FontManager._get_nix_font_path — Bitbucket | af854a3a-2127-422b-91ae-364da2661108 | bitbucket.org | Vendor Advisory |
| oss-security - CVE request: Shell Injection in Pygments FontManager._get_nix_font_path | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| Oracle Solaris Bulletin - January 2016 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | |
| Debian -- Security Information -- DSA-3445-1 pygments | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | |
| Pygments: Arbitrary code execution (GLSA 201612-05) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | |
| USN-2862-1: Pygments vulnerability | Ubuntu | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.