Advisories / composer / symfony/symfony / CVE-2020-5255
CVE-2020-5255: Prevent cache poisoning via a Response Content-Type header (CVE-2020-5255)
CVE-2020-5255 GHSA-mcx4-f5f5-4859 Published 30 Mar 2020
Affects 2 packages. Each has a fixed release.
$ composer require symfony/symfony:^4.4.7 $ composer require symfony/symfony:^5.0.7 $ composer require symfony/http-foundation:^4.4.7 $ composer require symfony/http-foundation:^5.0.7
Which versions are affected
| Package | Affected | Fixed in |
|---|---|---|
| symfony/symfony | ≥ 4.4.0, < 4.4.7≥ 5.0.0, < 5.0.7 | 4.4.75.0.7 |
| symfony/http-foundation | ≥ 4.4.0, < 4.4.7≥ 5.0.0, < 5.0.7 | 4.4.75.0.7 |
Check a site from its project folder:
composer show symfony/symfony
shows the installed version. Or paste the lock file into the lock file checker to check every package at once.
Timeline
- Advisory published, with a fix
Questions
Which version of symfony/symfony is safe from CVE-2020-5255?
5.0.7 and later. Versions affected: ≥ 4.4.0, < 4.4.7, ≥ 5.0.0, < 5.0.7.
Which version of symfony/http-foundation is safe from CVE-2020-5255?
5.0.7 and later. Versions affected: ≥ 4.4.0, < 4.4.7, ≥ 5.0.0, < 5.0.7.