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
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.
symfony/cache to version 3.4.35, 4.2.12, 4.3.8 or higher.