Arbitrary Code Execution Affecting symfony/cache package, versions >=3.4.0, <3.4.35 >=4.2.0, <4.2.12 >=4.3.0, <4.3.8


0.0
high

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.61% (79th 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-SYMFONYCACHE-535380
  • published 22 Nov 2019
  • disclosed 13 Nov 2019
  • credit wisdomtree

How to fix?

Upgrade symfony/cache to version 3.4.35, 4.2.12, 4.3.8 or higher.

Overview

symfony/cache is a cache component provides an extended PSR-6 implementation for adding cache to your applications.

Affected versions of this package are vulnerable to Arbitrary Code Execution. When an instance of TagAwareAdapter is destructed, Symfony execute callables stored in privates properties in order to invalidates tags. When the instance has been created by unserializing an external payload, those properties are not checked leading to a remote code execution.