GitHub Advisoryadvisory · PyPI

GHSA-fff8-4w9p-7v76 Command Injection in Pygments

CRITICAL Published 2022-05-17 Modified 2024-10-24 Official page ↗
Aliases
CVE-2015-8557
Ecosystem
PyPI
Packages
Pygments
Severity
Critical
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Weaknesses
CWE-78
Reviewed
2022-06-03

Affected packages

• PyPI Pygments: >= 1.2.2, < 2.1 → fixed in 2.1

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.

Related

Alias · CVE (1)

  • CVE-2015-8557 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… vulnerability

Weakness · CWE (1)

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References