Live threats

All CVEs / Sensiolabs

CVE-2020-5255Sensiolabs Symfony

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
1.3%
probability of exploitation in 30 days · percentile 70
Auth required
Yes
Published
Mar 30, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-435, CWE-20
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Symfony.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist symfony/http-foundation ≥ 4.4.0 < 4.4.7 4.4.7 composer require "symfony/http-foundation:^4.4.7"
Packagist symfony/http-foundation ≥ 5.0.0 < 5.0.7 5.0.7 composer require "symfony/http-foundation:^5.0.7"
Packagist symfony/symfony ≥ 4.4.0 < 4.4.7 4.4.7 composer require "symfony/symfony:^4.4.7"
Packagist symfony/symfony ≥ 5.0.0 < 5.0.7 5.0.7 composer require "symfony/symfony:^5.0.7"

Per OSV / GitHub Advisories (GHSA-mcx4-f5f5-4859). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sensiolabssymfony≥ 4.4.0 < 4.4.7
sensiolabssymfony≥ 5.0.0 < 5.0.7

Official sources

References

Links published by the sources. Open them with care.