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.
The MITRE CVE dictionary describes this issue as:
Find out more about CVE-2015-8557 from the MITRE CVE dictionary dictionary and NIST NVD.
NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.
Base Score | 5.1 |
---|---|
Base Metrics | AV:N/AC:H/Au:N/C:P/I:P/A:P |
Access Vector | Network |
Access Complexity | High |
Authentication | None |
Confidentiality Impact | Partial |
Integrity Impact | Partial |
Availability Impact | Partial |
Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).
Platform | Package | State |
---|---|---|
Red Hat Software Collections for Red Hat Enterprise Linux | python33-python-pygments | Will not fix |
Red Hat Software Collections for Red Hat Enterprise Linux | python27-python-pygments | Will not fix |
Red Hat Software Collections for Red Hat Enterprise Linux | rh-python34-python-pygments | Will not fix |
Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7 | python-pygments | Will not fix |
Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno) for RHEL 7 | python-pygments | Will not fix |
Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) | python-pygments | Will not fix |
Red Hat Enterprise Linux 7 | python-pygments | Will not fix |
Red Hat Enterprise Linux 6 | python-pygments | Will not fix |
Red Hat Ceph Storage 1.2 | python-pygments | Will not fix |