Arbitrary Command Injection Affecting pygments package, versions [1.2.2,2.0.2]


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.56% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PYGMENTS-40362
  • published21 Aug 2015
  • disclosed21 Aug 2015
  • creditUnknown

Introduced: 21 Aug 2015

CVE-2015-8557  (opens in a new tab)
CWE-78  (opens in a new tab)

Overview

pygments is a syntax highlighting package written in Python.

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.

CVSS Scores

version 3.1