| 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, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-369-1, DSA-3445-1 |
| Debian Bugs | 802828 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| pygments (PTS) | bullseye | 2.7.1+dfsg-2.1 | fixed |
| bookworm | 2.14.0+dfsg-1 | fixed | |
| forky, sid, trixie | 2.18.0+dfsg-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| pygments | source | squeeze | 1.3.1+dfsg-1+deb6u11 | DLA-369-1 | ||
| pygments | source | wheezy | 1.5+dfsg-1+deb7u1 | DSA-3445-1 | ||
| pygments | source | jessie | 2.0.1+dfsg-1.1+deb8u1 | DSA-3445-1 | ||
| pygments | source | (unstable) | 2.0.1+dfsg-2 | 802828 |
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