| 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 |
Vulnerable and fixed packages
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 |
| trixie | 2.18.0+dfsg-2 | fixed |
| forky | 2.19.2+dfsg-1 | fixed |
| sid | 2.20.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