CVE-2020-5255
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.
How to fix
- sensiolabs symfony4.4.7, 5.0.7 or later
- symfony/http-foundation4.4.7, 5.0.7 or later
- symfony/symfony4.4.7, 5.0.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sensiolabs symfony | 4.4.0 ≤ v < 4.4.7, 5.0.0 ≤ v < 5.0.7 | 4.4.7, 5.0.7 |
| symfony/http-foundationPackagist | 4.4.0 ≤ v < 4.4.7, 5.0.0 ≤ v < 5.0.7 | 4.4.7, 5.0.7 |
| symfony/symfonyPackagist | 4.4.0 ≤ v < 4.4.7, 5.0.0 ≤ v < 5.0.7 | 4.4.7, 5.0.7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.