CVE-2015-8557

python-pygments: Shell injection in FontManager._get_nix_font_path

Published Jan 8, 2016 CVSS 3.0 · 9.0 Critical EPSS 6.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-369-1 pygments security update
Debian DSA Debian DSA DSA-3445-1 pygments security update
EUVD EUVD EUVD-2016-0026 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.
Github GHSA Github GHSA GHSA-fff8-4w9p-7v76 Command Injection in Pygments
Ubuntu USN Ubuntu USN USN-2862-1 Pygments vulnerability
History
Type Values Removed Values Added
Metrics epss

{'score': 0.09087}

epss

{'score': 0.09142}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 8:20 AM
Reserved
Dec 14, 2015, 12:00 AM
Status
Modified
Published
Jan 8, 2016, 8:59 PM
Modified
Jun 17, 2026, 12:34 AM
Severity
Moderate
Public date
Sep 28, 2015, 12:00 AM