Skip to content

CVE-2020-5255 Prevent cache poisoning via a Response Content-Type header

MediumCVSS 4.3 EPSS 1.3% PoC
Published
Updated
Exploit status
Proof-of-concept only

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 products

ProductAffected versionsFixed in
symfony/http-foundation(Packagist) >= 4.4.0, < 4.4.7 4.4.7
symfony/http-foundation(Packagist) = v4.4.0 No fix listed
symfony/http-foundation(Packagist) = v4.4.1 No fix listed
symfony/http-foundation(Packagist) = v4.4.2 No fix listed
symfony/http-foundation(Packagist) = v4.4.3 No fix listed
symfony/http-foundation(Packagist) = v4.4.4 No fix listed
symfony/http-foundation(Packagist) = v4.4.5 No fix listed
symfony/http-foundation(Packagist) = v4.4.6 No fix listed
symfony/http-foundation(Packagist) >= 5.0.0, < 5.0.7 5.0.7
symfony/http-foundation(Packagist) = v5.0.0 No fix listed
symfony/http-foundation(Packagist) = v5.0.1 No fix listed
symfony/http-foundation(Packagist) = v5.0.2 No fix listed
symfony/http-foundation(Packagist) = v5.0.3 No fix listed
symfony/http-foundation(Packagist) = v5.0.4 No fix listed
symfony/http-foundation(Packagist) = v5.0.5 No fix listed
symfony/http-foundation(Packagist) = v5.0.6 No fix listed
symfony/symfony(Packagist) >= 4.4.0, < 4.4.7 4.4.7
symfony/symfony(Packagist) = v4.4.0 No fix listed
symfony/symfony(Packagist) = v4.4.1 No fix listed
symfony/symfony(Packagist) = v4.4.2 No fix listed
symfony/symfony(Packagist) = v4.4.3 No fix listed
symfony/symfony(Packagist) = v4.4.4 No fix listed
symfony/symfony(Packagist) = v4.4.5 No fix listed
symfony/symfony(Packagist) = v4.4.6 No fix listed
symfony/symfony(Packagist) >= 5.0.0, < 5.0.7 5.0.7
Show 14 more
ProductAffected versionsFixed in
symfony/symfony(Packagist) = v5.0.0 No fix listed
symfony/symfony(Packagist) = v5.0.1 No fix listed
symfony/symfony(Packagist) = v5.0.2 No fix listed
symfony/symfony(Packagist) = v5.0.3 No fix listed
symfony/symfony(Packagist) = v5.0.4 No fix listed
symfony/symfony(Packagist) = v5.0.5 No fix listed
symfony/symfony(Packagist) = v5.0.6 No fix listed
debian/symfony(Debian:12) < 4.4.8-1 4.4.8-1
debian/symfony(Debian:14) < 4.4.8-1 4.4.8-1
debian/symfony(Debian:13) < 4.4.8-1 4.4.8-1
sensiolabs symfony >= 4.4.0, < 4.4.7 4.4.7
sensiolabs symfony >= 5.0.0, < 5.0.7 5.0.7
symfony/symfony = >= 4.4.0 and < 4.4.7 No fix listed
symfony/symfony = >= 5.0.0 and < 5.0.7 No fix listed

References