Live threats

All CVEs / Sensiolabs

CVE-2020-15094Sensiolabs Httpclient

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
3.0%
probability of exploitation in 30 days · percentile 88
Auth required
Yes
Published
Sep 2, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-212
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Httpclient.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist symfony/http-kernel ≥ 4.3.0 < 4.4.13 4.4.13 composer require "symfony/http-kernel:^4.4.13"
Packagist symfony/http-kernel ≥ 5.0.0 < 5.1.5 5.1.5 composer require "symfony/http-kernel:^5.1.5"
Packagist symfony/symfony ≥ 4.3.0 < 4.4.13 4.4.13 composer require "symfony/symfony:^4.4.13"
Packagist symfony/symfony ≥ 5.0.0 < 5.1.5 5.1.5 composer require "symfony/symfony:^5.1.5"

Per OSV / GitHub Advisories (GHSA-754h-5r27-7x3r). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sensiolabshttpclient≥ 4.4.0 < 4.4.13
sensiolabshttpclient≥ 5.1.0 < 5.1.5
sensiolabssymfony≥ 4.4.0 < 4.4.13
sensiolabssymfony≥ 5.1.0 < 5.1.5
fedoraprojectfedora32
fedoraprojectfedora33

Official sources

References

Links published by the sources. Open them with care.