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


0.0
high

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.88% (83rd percentile)
Expand this section
NVD
9.8 critical

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 ID SNYK-PHP-SYMFONYVAREXPORTER-535381
  • published 22 Nov 2019
  • disclosed 13 Nov 2019
  • credit Seung Woo Yuk (xtac)

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.