CVE-2020-15094
RCE in Symfony
Description
In Symfony before versions 4.4.13 and 5.1.5, the CachingHttpClient class from the HttpClient Symfony component relies on the HttpCache class to handle requests. HttpCache uses internal headers like X-Body-Eval and X-Body-File to control the restoration of cached responses. The class was initially written with surrogate caching and ESI support in mind (all HTTP calls come from a trusted backend in that scenario). But when used by CachingHttpClient and if an attacker can control the response for a request being made by the CachingHttpClient, remote code execution is possible. This has been fixed in versions 4.4.13 and 5.1.5.
How to fix CVE-2020-15094
To remediate CVE-2020-15094, upgrade the affected package to a fixed version below.
- —upgrade to 4.4.13 or later
- —upgrade to 4.4.13+dfsg-1 or later
- —upgrade to 4.4.13 or later
- —upgrade to 4.4.13 or later
Is CVE-2020-15094 being exploited?
Low — EPSS is 2.2%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- >= 4.4.0, < 4.4.13, >= 5.1.0, < 5.1.5
- from 0, < 4.4.13+dfsg-1
- >= 4.3.0, < 4.4.13
- >= 4.3.0, < 4.4.13
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |