Name | CVE-2015-8557 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-369-1, DSA-3445-1 |
Debian Bugs | 802828 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
pygments (PTS) | jessie, jessie (lts) | 2.0.1+dfsg-1.1+deb8u3 | fixed |
| stretch (security), stretch (lts), stretch | 2.2.0+dfsg-1+deb9u2 | fixed |
| buster (security), buster, buster (lts) | 2.3.1+dfsg-1+deb10u2 | fixed |
| bullseye | 2.7.1+dfsg-2.1 | fixed |
| bookworm | 2.14.0+dfsg-1 | fixed |
| sid, trixie | 2.18.0+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
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