CVE-2020-5255
Last modified
CVE-2020-5255 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. 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. EPSS estimates a 1.30% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sensiolabs | Symfony | >= 4.4.0, < 4.4.7 |
| Sensiolabs | Symfony | >= 5.0.0, < 5.0.7 |
References
- https://github.com/symfony/symfony/commit/dca343442e6a954f96a2609e7b4e9c21ed6d74e6Patch, Third Party Advisory
- https://github.com/symfony/symfony/security/advisories/GHSA-mcx4-f5f5-4859Third Party Advisory
- https://github.com/symfony/symfony/commit/dca343442e6a954f96a2609e7b4e9c21ed6d74e6Patch, Third Party Advisory
- https://github.com/symfony/symfony/security/advisories/GHSA-mcx4-f5f5-4859Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-5255?
How severe is CVE-2020-5255?
How do I fix CVE-2020-5255?
Are you affected by CVE-2020-5255?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
