CVE-2020-5255Sensiolabs Symfony
Medium 4.3
Follow: this CVE · Sensiolabs · Sensiolabs Symfony We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 3.1
- 4.3
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 70
- Auth required
- Yes
- Published
- Mar 30, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
What happens
In Symfony before versions 4.4.7 and 5.0.7, when a `Response` does not contain a `Content-Type` header, affected versions of Symfony can fallback to the format defined in the `Accept` header of the request, leading to a possible mismatch between the response's content and `Content-Type` header. When the response is cached, this can prevent the use of the website by other users. This has been patched in versions 4.4.7 and 5.0.7.
What to do
- Apply the vendor's security update for Symfony.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | symfony/http-foundation |
≥ 4.4.0 < 4.4.7 |
4.4.7 |
composer require "symfony/http-foundation:^4.4.7" |
| Packagist | symfony/http-foundation |
≥ 5.0.0 < 5.0.7 |
5.0.7 |
composer require "symfony/http-foundation:^5.0.7" |
| Packagist | symfony/symfony |
≥ 4.4.0 < 4.4.7 |
4.4.7 |
composer require "symfony/symfony:^4.4.7" |
| Packagist | symfony/symfony |
≥ 5.0.0 < 5.0.7 |
5.0.7 |
composer require "symfony/symfony:^5.0.7" |
Per OSV / GitHub Advisories (GHSA-mcx4-f5f5-4859). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sensiolabs | symfony | ≥ 4.4.0 < 4.4.7 |
| sensiolabs | symfony | ≥ 5.0.0 < 5.0.7 |
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
- symfony.com Third Party Advisory