CVE-2020-15094Sensiolabs Httpclient
High 8.8
Follow: this CVE · Sensiolabs · Sensiolabs Httpclient We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Httpclient.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| sensiolabs | httpclient | ≥ 4.4.0 < 4.4.13 |
| sensiolabs | httpclient | ≥ 5.1.0 < 5.1.5 |
| sensiolabs | symfony | ≥ 4.4.0 < 4.4.13 |
| sensiolabs | symfony | ≥ 5.1.0 < 5.1.5 |
| fedoraproject | fedora | 32 |
| fedoraproject | fedora | 33 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- packagist.org Product Third Party Advisory
- packagist.org Product Third Party Advisory