CVE-2020-15094

Improper Cross-boundary Removal of Sensitive Data in packagist/symfony/http-foundation

Identifiers

CVE-2020-15094, GHSA-754h-5r27-7x3r

Package Slug

packagist/symfony/http-foundation

Vulnerability

Improper Cross-boundary Removal of Sensitive Data

Description

In Symfony, 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.

Affected Versions

All versions starting from 4.4.0 before 4.4.13, all versions starting from 5.1.0 before 5.1.5

Solution

Upgrade to versions 4.4.13, 5.1.5 or above.

Last Modified

2020-09-14

source