CVE-2015-8557

NameCVE-2015-8557
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-369-1, DSA-3445-1
NVD severityhigh (attack range: remote)
Debian Bugs802828

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pygments (PTS)wheezy, wheezy (security)1.5+dfsg-1+deb7u1fixed
jessie (security), jessie2.0.1+dfsg-1.1+deb8u1fixed
buster, sid, stretch2.2.0+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pygmentssource(unstable)2.0.1+dfsg-2high802828
pygmentssourcejessie2.0.1+dfsg-1.1+deb8u1highDSA-3445-1
pygmentssourcesqueeze1.3.1+dfsg-1+deb6u11highDLA-369-1
pygmentssourcewheezy1.5+dfsg-1+deb7u1highDSA-3445-1

Notes

https://bugzilla.redhat.com/show_bug.cgi?id=1276321
https://bitbucket.org/birkenfeld/pygments-main/commits/0036ab1c99e256298094505e5e92f
http://www.openwall.com/lists/oss-security/2015/12/14/6

Search for package or bug name: Reporting problems