CVE-2019-18889: Remote Code Injection in Symfony Cache
Summary
CVE-2019-18889: Symfony Unsafe Cache Serialization Could Enable RCE. Affects symfony/cache across 3 version ranges.
>= 3.1.0, < 3.4.35
>= 4.0.0, < 4.2.12
>= 4.3.0, < 4.3.8
Fixed in 3.4.35, 4.2.12 or 4.3.8, depending on the release line you run. How to fix ↓
Also tracked for
- symfony · Debian:11
The same CVE-2019-18889 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Symfony Cache is a component of the Symfony framework that provides a flexible and efficient way to store and retrieve data. It offers various cache adapters to support different storage systems. However, versions 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7 of Symfony Cache are vulnerable to remote code injection.
Vulnerability Detail
The vulnerability arises from the serialization of certain cache adapter interfaces. An attacker can exploit this by injecting malicious code during the deserialization process, leading to remote code execution. The impact of this vulnerability is critical, as it allows an attacker to execute arbitrary code on the affected system.
How To Fix
Fixed versions by release line
The minimum fixed version depends on the release line you run.
-
>= 3.1.0, < 3.4.353.4.35composer require symfony/cache:3.4.35 -
>= 4.0.0, < 4.2.124.2.12composer require symfony/cache:4.2.12 -
>= 4.3.0, < 4.3.84.3.8composer require symfony/cache:4.3.8
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Workaround
There is no known workaround for this vulnerability. It is crucial to apply the recommended fixes as soon as possible.
Conclusion
In conclusion, the vulnerability in Symfony Cache allows for remote code injection, which can have severe consequences. It is essential to upgrade to the fixed versions of Symfony Cache to mitigate this vulnerability. For further assistance with vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for symfony/cache →
FAQ
Symfony Cache is a component of the Symfony framework that provides a flexible and efficient way to store and retrieve data.
Versions 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7 of Symfony Cache are affected.
The impact of this vulnerability is critical, as it allows an attacker to execute arbitrary code on the affected system.
To fix this vulnerability, it is recommended to upgrade to the fixed versions of Symfony Cache.
There is no known workaround for this vulnerability. It is crucial to apply the recommended fixes as soon as possible.
References
Related vulnerabilities
Recent vulnerabilities recorded for symfony/cache.