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.

Severity (CVSS 3.1)2.6Low
Exploit odds (30 days)1.3%top 29.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12symfony4.4.8-1DEBIAN-CVE-2020-5255
Debian:13symfony4.4.8-1DEBIAN-CVE-2020-5255
Debian:14symfony4.4.8-1DEBIAN-CVE-2020-5255
Packagistsymfony/http-foundation5.0.7GHSA-mcx4-f5f5-4859
Packagistsymfony/http-foundation4.4.7GHSA-mcx4-f5f5-4859
Packagistsymfony/symfony5.0.7GHSA-mcx4-f5f5-4859
Packagistsymfony/symfony4.4.7GHSA-mcx4-f5f5-4859

Affected products (as reported)

VendorProductVersions
symfony symfony >= 4.4.0 and < 4.4.7>= 5.0.0 and < 5.0.7

Weakness: CWE-435 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L

References