9
CVSSv3

CVE-2015-8557

Published: 08/01/2016 Updated: 01/07/2017
CVSS v2 Base Score: 9.3 | Impact Score: 10 | Exploitability Score: 8.6
CVSS v3 Base Score: 9 | Impact Score: 6 | Exploitability Score: 2.2
VMScore: 828
Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C

Vulnerability Summary

The FontManager._get_nix_font_path function in formatters/img.py in Pygments 1.2.2 up to and including 2.0.2 allows remote malicious users to execute arbitrary commands via shell metacharacters in a font name.

Vulnerable Product Search on Vulmon Subscribe to Product

canonical ubuntu linux 14.04

canonical ubuntu linux 12.04

canonical ubuntu linux 15.10

canonical ubuntu linux 15.04

pygments pygments 1.4

pygments pygments 1.5

pygments pygments 1.6

pygments pygments 2.0.1

pygments pygments 1.3.1

pygments pygments 1.3

pygments pygments 2.0

pygments pygments 1.2.2

Vendor Advisories

Debian Bug report logs - #802828 python-pygments: CVE-2015-8557: shell injection in FontManager_get_nix_font_path Package: python-pygments; Maintainer for python-pygments is Piotr Ożarowski <piotr@debianorg>; Source for python-pygments is src:pygments (PTS, buildd, popcon) Reported by: Jakub Wilk <jwilk@debianorg> ...
Pygments could be made to crash or run programs if it processed a specially crafted font request ...
Javantea discovered that pygments, a generic syntax highlighter, is prone to a shell injection vulnerability allowing a remote attacker to execute arbitrary code via shell metacharacters in a font name For the oldstable distribution (wheezy), this problem has been fixed in version 15+dfsg-1+deb7u1 For the stable distribution (jessie), this probl ...
An unsafe use of string concatenation in a shell string occurs in FontManager If the developer allows the attacker to choose the font and outputs an image, the attacker can execute any shell command on the remote system The name variable injected comes from the constructor of FontManager, which is invoked by ImageFormatter from options ...
The FontManager_get_nix_font_path function in formatters/imgpy in Pygments 122 through 202 allows remote attackers to execute arbitrary commands via shell metacharacters in a font name ...