CVE-2020-5255 json
Prevent cache poisoning via a Response Content-Type header
published 6y ago modified last mo. also BIT-symfony-2020-5255 , EUVD-2020-0351 , GHSA-mcx4-f5f5-4859
- cvss
- 2.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist symfony/http-foundation 4.4.7, 5.0.7
- packagist symfony/symfony 4.4.7, 5.0.7
- bitnami symfony 4.4.7, 5.0.7
- sensiolabs symfony 4.4.7, 5.0.7
- symfony Debian 14, Debian 13, Debian 12 4.4.8-1
debian advisories DEBIAN-CVE-2020-5255
Is CVE-2020-5255 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-5255 updated cvss 2.6
php-symfony: Response without Content-Type header could result in cache poisoning
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.30% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.6 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L |
| GitHub | 3.1 | 2.6 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
| OSV | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | symfony/http-foundation | >=4.4.0, <4.4.7 >=5.0.0, <5.0.7 |
4.4.7 5.0.7 |
| packagist | symfony/symfony | >=4.4.0, <4.4.7 >=5.0.0, <5.0.7 |
4.4.7 5.0.7 |
| bitnami | symfony | >=4.4.0, <4.4.7 >=5.0.0, <5.0.7 |
4.4.7 5.0.7 |
Affected products
- symfony symfony
Classification
References
-
github.com
/symfony/symfony/commit/dca343442e6a954f96a2609e7b4e9c21ed6d74e6
web, patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/C36JLPHUPKDFAX6D5WYFC4ALO2K7RDUQ/
vendor-advisory, web
-
github.com
/symfony/symfony/security/advisories/GHSA-mcx4-f5f5-4859
web, third-party-advisory
-
symfony.com
/blog/cve-2020-5255-prevent-cache-poisoning-via-a-response-content-type-header
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-5255
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2020-5255.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2020-5255.yaml
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/C36JLPHUPKDFAX6D5WYFC4ALO2K7RDUQ
web
-
symfony.com
/cve-2020-5255
web
Sources
- CVE List CVE-2020-5255
- GitHub Advisory GHSA-mcx4-f5f5-4859
- NVD CVE-2020-5255
- OSV BIT-symfony-2020-5255
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.