CVE-2020-5255
published low CVSS 3.1 · 2.6Prevent cache poisoning via a Response Content-Type header
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| symfony | — | symfony>= 4.4.0 and < 4.4.7 · >= 5.0.0 and < 5.0.7 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 2.6 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| symfony | symfony | >= 4.4.0 and < 4.4.7 (affected)>= 5.0.0 and < 5.0.7 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-435 CWE-435 Improper Interaction Between Multiple Correctly-Behaving Entities
References
4- https://github.com/symfony/symfony/commit/dca343442e6a954f96a2609e7b4e9c21ed6d74e6
- https://github.com/symfony/symfony/security/advisories/GHSA-mcx4-f5f5-4859
- FEDORA-2020-fade6a8df7 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C36JLPHUPKDFAX6D5WYFC4ALO2K7RDUQ/
- https://symfony.com/blog/cve-2020-5255-prevent-cache-poisoning-via-a-response-content-type-header
Provider assertions
2GitHub_M · cna
Prevent cache poisoning via a Response Content-Type header
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cf92d909860dd8247d61aac83ca4633bf05cf15d8ab77f7928e0ac09459677c0
- Ingested
- 23 Sep 2026, 07:51:02 UTC
- Source record
- Official CVE record