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


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.63% (80th 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-SYMFONYCACHE-535380
  • published22 Nov 2019
  • disclosed13 Nov 2019
  • creditwisdomtree

Introduced: 13 Nov 2019

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

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.

CVSS Scores

version 3.1