{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 5.1, "accessVector": "NETWORK", "vectorString": "AV:N/AC:H/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "HIGH", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "python-pygments", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "affected"}], "references": [{"url": "https://access.redhat.com/security/cve/CVE-2015-8557"}], "descriptions": [{"lang": "en", "value": "The CVE program describes this issue as: 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."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2015-09-28T00:00:00Z", "x_subShortName": "redhat_6"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 5.1, "accessVector": "NETWORK", "vectorString": "AV:N/AC:H/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "HIGH", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "python-pygments", "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "affected"}], "references": [{"url": "https://access.redhat.com/security/cve/CVE-2015-8557"}], "descriptions": [{"lang": "en", "value": "The CVE program describes this issue as: 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."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2015-09-28T00:00:00Z", "x_subShortName": "redhat_7"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"not yet assigned\"}"}}}], "affected": [{"vendor": "debian", "product": "python-pygments", "versions": [{"status": "affected", "version": "0", "lessThan": "2.0.1+dfsg-2", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "python-pygments-doc", "versions": [{"status": "affected", "version": "0", "lessThan": "2.0.1+dfsg-2", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "python3-pygments", "versions": [{"status": "affected", "version": "0", "lessThan": "2.0.1+dfsg-2", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2015-8557"}], "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."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2015-12-15T00:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"high\"}"}}}], "affected": [{"vendor": "fedora", "product": "python-pygments", "versions": [{"status": "affected", "version": "0", "lessThan": "2.0.2-3.fc23", "versionType": "rpm"}], "platforms": ["cpe:/o:fedoraproject:fedora:23"], "defaultStatus": "unaffected"}], "references": [{"url": "https://bodhi.fedoraproject.org/updates/FEDORA-2015-c045f2ab1a"}], "descriptions": [{"lang": "en", "value": "python-pygments: Shell injection in FontManager._get_nix_font_path"}], "providerMetadata": {"orgId": "92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5", "shortName": "fedora", "dateUpdated": "2015-11-17T14:29:33Z", "x_subShortName": "fedora"}}, {"metrics": [{"cvssV3_0": {"scope": "CHANGED", "version": "3.0", "baseScore": 9.0, "attackVector": "NETWORK", "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "HIGH", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"medium\"}"}}}], "affected": [{"vendor": "canonical", "product": "python-pygments", "versions": [{"status": "affected", "version": "0", "lessThan": "1.6+dfsg-1ubuntu1.1", "versionType": "custom"}], "platforms": ["trusty"], "defaultStatus": "unaffected"}, {"vendor": "canonical", "product": "python3-pygments", "versions": [{"status": "affected", "version": "0", "lessThan": "1.6+dfsg-1ubuntu1.1", "versionType": "custom"}], "platforms": ["trusty"], "defaultStatus": "unaffected"}], "references": [{"url": "https://ubuntu.com/security/CVE-2015-8557"}, {"url": "https://ubuntu.com/security/notices/USN-2862-1"}, {"url": "https://www.cve.org/CVERecord?id=CVE-2015-8557"}], "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."}], "providerMetadata": {"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "shortName": "canonical", "dateUpdated": "2015-12-16T00:00:00Z", "x_subShortName": "canonical"}}, {"metrics": [{"cvssV3_0": {"scope": "CHANGED", "version": "3.0", "baseScore": 9.0, "attackVector": "NETWORK", "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "HIGH", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH"}}, {"cvssV4_0": {"version": "4.0", "baseScore": 9.5, "attackVector": "NETWORK", "baseSeverity": "CRITICAL", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H", "userInteraction": "NONE", "attackComplexity": "LOW", "attackRequirements": "PRESENT", "privilegesRequired": "NONE", "subIntegrityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "subAvailabilityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "HIGH", "vulnConfidentialityImpact": "HIGH"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"CRITICAL\"}"}}}], "affected": [{"vendor": "pypi", "product": "pygments", "versions": [{"status": "affected", "version": "1.2.2", "lessThan": "2.1", "versionType": "custom"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html"}, {"url": "http://seclists.org/fulldisclosure/2015/Oct/4"}, {"url": "http://www.debian.org/security/2016/dsa-3445"}, {"url": "http://www.openwall.com/lists/oss-security/2015/12/14/17"}, {"url": "http://www.openwall.com/lists/oss-security/2015/12/14/6"}, {"url": "http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html"}, {"url": "http://www.ubuntu.com/usn/USN-2862-1"}, {"url": "https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff"}, {"url": "https://github.com/advisories/GHSA-fff8-4w9p-7v76"}, {"url": "https://github.com/pygments/pygments"}, {"url": "https://github.com/pygments/pygments/commit/db6dd826f8624179e563aaded391efe824462f51"}, {"url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2016-32.yaml"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2015-8557"}, {"url": "https://security.gentoo.org/glsa/201612-05"}], "descriptions": [{"lang": "en", "value": "Command Injection in Pygments"}, {"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."}], "providerMetadata": {"orgId": "28c92f92-d60d-412d-b760-e73465c3df22", "shortName": "pypi", "dateUpdated": "2016-01-08T20:59:00Z", "x_subShortName": "pypi"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 5.1, "accessVector": "NETWORK", "vectorString": "AV:N/AC:H/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "HIGH", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}], "affected": [{"vendor": "amazon", "product": "python26-pygments", "versions": [{"status": "affected", "version": "0", "lessThan": "1.4-4.12.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}, {"vendor": "amazon", "product": "python27-pygments", "versions": [{"status": "affected", "version": "0", "lessThan": "1.4-4.12.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8557"}], "descriptions": [{"lang": "en", "value": "CVE-2015-8557"}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000000", "shortName": "alas", "dateUpdated": "2015-12-14T15:14:00Z", "x_subShortName": "alas_1"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 9.3, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:C/I:C/A:C", "authentication": "NONE", "integrityImpact": "COMPLETE", "accessComplexity": "MEDIUM", "availabilityImpact": "COMPLETE", "confidentialityImpact": "COMPLETE"}}, {"format": "CVSS", "cvssV3_0": {"scope": "CHANGED", "version": "3.0", "baseScore": 9, "attackVector": "NETWORK", "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "HIGH", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH"}}], "affected": [{"cpes": ["cpe:2.3:a:pygments:pygments:1.2.2:*:*:*:*:*:*:*", "cpe:2.3:a:pygments:pygments:1.3.1:*:*:*:*:*:*:*", "cpe:2.3:a:pygments:pygments:1.3:*:*:*:*:*:*:*", "cpe:2.3:a:pygments:pygments:1.4:*:*:*:*:*:*:*", "cpe:2.3:a:pygments:pygments:1.5:*:*:*:*:*:*:*", "cpe:2.3:a:pygments:pygments:1.6:*:*:*:*:*:*:*", "cpe:2.3:a:pygments:pygments:1.6:rc1:*:*:*:*:*:*", "cpe:2.3:a:pygments:pygments:2.0.1:*:*:*:*:*:*:*", "cpe:2.3:a:pygments:pygments:2.0:*:*:*:*:*:*:*", "cpe:2.3:a:pygments:pygments:2.0:rc1:*:*:*:*:*:*"], "vendor": "pygments", "product": "pygments", "versions": [{"status": "affected", "version": "1.2.2"}, {"status": "affected", "version": "1.3"}, {"status": "affected", "version": "1.3.1"}, {"status": "affected", "version": "1.4"}, {"status": "affected", "version": "1.5"}, {"status": "affected", "version": "1.6"}, {"status": "affected", "version": "2.0"}, {"status": "affected", "version": "2.0.1"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*", "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*", "cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:*", "cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*"], "vendor": "canonical", "product": "ubuntu_linux", "versions": [{"status": "affected", "version": "12.04"}, {"status": "affected", "version": "14.04"}, {"status": "affected", "version": "15.04"}, {"status": "affected", "version": "15.10"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff", "tags": ["vendor-advisory"]}, {"url": "http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html"}, {"url": "http://seclists.org/fulldisclosure/2015/Oct/4"}, {"url": "http://www.debian.org/security/2016/dsa-3445"}, {"url": "http://www.openwall.com/lists/oss-security/2015/12/14/17"}, {"url": "http://www.openwall.com/lists/oss-security/2015/12/14/6"}, {"url": "http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html"}, {"url": "http://www.ubuntu.com/usn/USN-2862-1"}, {"url": "https://security.gentoo.org/glsa/201612-05"}], "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ón FontManager._get_nix_font_path en formatters/img.py en Pygments 1.2.2 hasta la versión 2.0.2 permite a atacantes remotos ejecutar comandos arbitrarios a través de metacaracteres de shell en un nombre de fuente."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-78", "description": "CWE-78"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2016-01-08T20:59:02Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2015-8557", "state": "PUBLISHED", "dateUpdated": "2025-04-12T10:46:40Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2016-01-08T20:59:02Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}