Vulnerability · Published Mar 30, 2020 · Assigned by GitHub_M
CVE-2020-5255Prevent cache poisoning via a Response Content-Type header
Low 2.6
In plain English
A low-severity security flaw in symfony from symfony. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | symfony | 4.4.8-1 | DEBIAN-CVE-2020-5255 |
| Debian:13 | symfony | 4.4.8-1 | DEBIAN-CVE-2020-5255 |
| Debian:14 | symfony | 4.4.8-1 | DEBIAN-CVE-2020-5255 |
| Packagist | symfony/http-foundation | 5.0.7 | GHSA-mcx4-f5f5-4859 |
| Packagist | symfony/http-foundation | 4.4.7 | GHSA-mcx4-f5f5-4859 |
| Packagist | symfony/symfony | 5.0.7 | GHSA-mcx4-f5f5-4859 |
| Packagist | symfony/symfony | 4.4.7 | GHSA-mcx4-f5f5-4859 |
Affected products (as reported)
Weakness: CWE-435 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L
References
- https://github.com/symfony/symfony/security/advisories/GHSA-mcx4-f5f5-4859 x_refsource_CONFIRM
- https://github.com/symfony/symfony/commit/dca343442e6a954f96a2609e7b4e9c21ed6d74e6 x_refsource_MISC
- https://symfony.com/blog/cve-2020-5255-prevent-cache-poisoning-via-a-response-content-type-header x_refsource_MISC
- FEDORA-2020-fade6a8df7 vendor-advisory, x_refsource_FEDORA