CVE-2020-5255: sensiolabs symfony
Vulnerability summary
CVE-2020-5255 is a medium (CVSS 4.3) vulnerability in sensiolabs symfony. EPSS estimates a 1.30% chance of exploitation in the next 30 days, higher than 69.9% of scored vulnerabilities.
Timeline
- 30-03-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA2.6LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:LDiffers
- OSV · DebianEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
1.30%
Chance of exploitation in the next 30 days
Percentile
70%
Versus all other CVEs
30-day change
0.00 pp
From 1.30% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-435Improper Interaction Between Multiple Correctly-Behaving EntitiesAn interaction error occurs when two entities have correct behavior when running independently of each other, but when they are integrated as components in a larger system or process, they introduce incorrect behaviors that may cause resultant weaknesses.
- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Affected systems
Debian1 product
- symfony< 4.4.8-1
Sensiolabs1 product
- symfony≥ 4.4.0, < 4.4.7 | ≥ 5.0.0, < 5.0.7
Symfony1 product
- symfony≥ 4.4.0 and < 4.4.7 (No fix recorded) | ≥ 5.0.0 and < 5.0.7 (No fix recorded)
3 vendors · 3 products
References
5 links- github.com/symfony/symfony/security/advisories/GHSA-mcx4-f5f5-4859X Refsource CONFIRMThird Party Advisory
- github.com/symfony/symfony/commit/dca343442e6a954f96a2609e7b4e9c21ed6d74e6X Refsource MISCPatchThird Party Advisory
- symfony.com/blog/cve-2020-5255-prevent-cache-poisoning-via-a-response-content-type-headerX Refsource MISCThird Party Advisory