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 bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-369-1, DSA-3445-1
NVD severityhigh
Debian Bugs802828

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pygments (PTS)stretch2.2.0+dfsg-1fixed
stretch (security)2.2.0+dfsg-1+deb9u2fixed
buster, buster (security)2.3.1+dfsg-1+deb10u2fixed
bullseye, sid2.7.1+dfsg-2.1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pygmentssourcesqueeze1.3.1+dfsg-1+deb6u11DLA-369-1
pygmentssourcewheezy1.5+dfsg-1+deb7u1DSA-3445-1
pygmentssourcejessie2.0.1+dfsg-1.1+deb8u1DSA-3445-1
pygmentssource(unstable)2.0.1+dfsg-2802828

Notes

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

Search for package or bug name: Reporting problems