{"id":"PYSEC-2016-32","details":"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.","aliases":["CVE-2015-8557","GHSA-fff8-4w9p-7v76"],"modified":"2023-11-08T03:58:02.518743Z","published":"2016-01-08T20:59:00Z","references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/12/14/6"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2015/Oct/4"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2862-1"},{"type":"WEB","url":"https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/12/14/17"},{"type":"WEB","url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html"},{"type":"ADVISORY","url":"http://www.debian.org/security/2016/dsa-3445"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201612-05"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-fff8-4w9p-7v76"}],"affected":[{"package":{"name":"pygments","ecosystem":"PyPI","purl":"pkg:pypi/pygments"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.2"},{"fixed":"2.1"}]}],"versions":["1.2.2","1.3","1.3.1","1.4","1.5","1.6","1.6rc1","2.0","2.0.1","2.0.2","2.0rc1"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/pygments/PYSEC-2016-32.yaml"}}],"schema_version":"1.7.3"}