FKIE_CVE-2015-8557
Vulnerability from fkie_nvd - Published: 2016-01-08 20:59 - Updated: 2025-04-12 10:46
Severity ?
Summary
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
Impacted products
| Vendor | Product | Version | |
|---|---|---|---|
| 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 | 1.6 | |
| pygments | pygments | 2.0 | |
| pygments | pygments | 2.0 | |
| pygments | pygments | 2.0.1 |
{
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*",
"matchCriteriaId": "B6B7CAD7-9D4E-4FDB-88E3-1E583210A01F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
"matchCriteriaId": "B5A6F2F3-4894-4392-8296-3B8DD2679084",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:*",
"matchCriteriaId": "F38D3B7E-8429-473F-BB31-FC3583EE5A5B",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*",
"matchCriteriaId": "E88A537F-F4D0-46B9-9E37-965233C2A355",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
},
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:pygments:pygments:1.2.2:*:*:*:*:*:*:*",
"matchCriteriaId": "D0EA0F71-FC29-4C3A-90DF-2FFEF16712F3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:pygments:pygments:1.3:*:*:*:*:*:*:*",
"matchCriteriaId": "195E015F-0A85-41F7-9DE9-F542A9F8756D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:pygments:pygments:1.3.1:*:*:*:*:*:*:*",
"matchCriteriaId": "EA9CB3F5-2FEA-4DC1-BBAC-5D4CF6DA7D39",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:pygments:pygments:1.4:*:*:*:*:*:*:*",
"matchCriteriaId": "B3468562-7027-40D1-8E6D-5F3F1364A1BA",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:pygments:pygments:1.5:*:*:*:*:*:*:*",
"matchCriteriaId": "F0FCED0A-4343-440C-A1A0-BB3363F6ECED",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:pygments:pygments:1.6:*:*:*:*:*:*:*",
"matchCriteriaId": "307A01FA-B943-4C7F-9AB2-FB2BD28F3738",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:pygments:pygments:1.6:rc1:*:*:*:*:*:*",
"matchCriteriaId": "88C42296-D5EA-4A35-9551-54ED8BBA3944",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:pygments:pygments:2.0:*:*:*:*:*:*:*",
"matchCriteriaId": "DF08EF1D-5232-42AA-AEA0-0DD504D89680",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:pygments:pygments:2.0:rc1:*:*:*:*:*:*",
"matchCriteriaId": "9E88F72E-2F7A-4D27-AD22-BB3C3BDD25E4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:pygments:pygments:2.0.1:*:*:*:*:*:*:*",
"matchCriteriaId": "F0200D6E-B72D-4C07-9427-EB2D2A5EF72E",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "La funci\u00f3n FontManager._get_nix_font_path en formatters/img.py en Pygments 1.2.2 hasta la versi\u00f3n 2.0.2 permite a atacantes remotos ejecutar comandos arbitrarios a trav\u00e9s de metacaracteres de shell en un nombre de fuente."
}
],
"id": "CVE-2015-8557",
"lastModified": "2025-04-12T10:46:40.837",
"metrics": {
"cvssMetricV2": [
{
"acInsufInfo": false,
"baseSeverity": "HIGH",
"cvssData": {
"accessComplexity": "MEDIUM",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "COMPLETE",
"baseScore": 9.3,
"confidentialityImpact": "COMPLETE",
"integrityImpact": "COMPLETE",
"vectorString": "AV:N/AC:M/Au:N/C:C/I:C/A:C",
"version": "2.0"
},
"exploitabilityScore": 8.6,
"impactScore": 10.0,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"source": "nvd@nist.gov",
"type": "Primary"
}
],
"cvssMetricV30": [
{
"cvssData": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.0,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
"version": "3.0"
},
"exploitabilityScore": 2.2,
"impactScore": 6.0,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2016-01-08T20:59:02.233",
"references": [
{
"source": "cve@mitre.org",
"url": "http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html"
},
{
"source": "cve@mitre.org",
"url": "http://seclists.org/fulldisclosure/2015/Oct/4"
},
{
"source": "cve@mitre.org",
"url": "http://www.debian.org/security/2016/dsa-3445"
},
{
"source": "cve@mitre.org",
"url": "http://www.openwall.com/lists/oss-security/2015/12/14/17"
},
{
"source": "cve@mitre.org",
"url": "http://www.openwall.com/lists/oss-security/2015/12/14/6"
},
{
"source": "cve@mitre.org",
"url": "http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html"
},
{
"source": "cve@mitre.org",
"url": "http://www.ubuntu.com/usn/USN-2862-1"
},
{
"source": "cve@mitre.org",
"tags": [
"Vendor Advisory"
],
"url": "https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff"
},
{
"source": "cve@mitre.org",
"url": "https://security.gentoo.org/glsa/201612-05"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://seclists.org/fulldisclosure/2015/Oct/4"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.debian.org/security/2016/dsa-3445"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.openwall.com/lists/oss-security/2015/12/14/17"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.openwall.com/lists/oss-security/2015/12/14/6"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.ubuntu.com/usn/USN-2862-1"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Vendor Advisory"
],
"url": "https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://security.gentoo.org/glsa/201612-05"
}
],
"sourceIdentifier": "cve@mitre.org",
"vulnStatus": "Deferred",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-78"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…