Arbitrary Code Execution Affecting 3f/pygmentize package, versions <1.2


Severity

Recommended
0.0
high
0
10

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

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 Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-3FPYGMENTIZE-608823
  • published22 Feb 2018
  • disclosed6 Nov 2016
  • creditUnknown

Introduced: 6 Nov 2016

CVE NOT AVAILABLE CWE-94  (opens in a new tab)

How to fix?

Upgrade 3f/pygmentize to version 1.2 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution. The highlight function accepted arguments controlled by user input, without proper escaping. An attacker could inject a malicious commands into the function.

CVSS Base Scores

version 3.1