Arbitrary Code Execution Affecting symfony/var-exporter package, versions >=4.2.0, <4.2.12>=4.3.0, <4.3.8


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
1.03% (84th 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 Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SYMFONYVAREXPORTER-535381
  • published22 Nov 2019
  • disclosed13 Nov 2019
  • creditSeung Woo Yuk (xtac)

Introduced: 13 Nov 2019

CVE-2019-11325  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade symfony/var-exporter to version 4.2.12, 4.3.8 or higher.

Overview

symfony/var-exporter is a blend of var_export() + serialize() to turn any serializable data structure to plain PHP code.

Affected versions of this package are vulnerable to Arbitrary Code Execution. Some strings were not properly escaped when being dumped by the VarExporter component leading to remote code execution.

CVSS Scores

version 3.1