Feed
2.6LOW

CVE-2020-5255Prevent cache poisoning via a Response Content-Type header in Symfony

A low-severity vulnerability reachable over the network, needing low privileges and user interaction. EPSS estimates a 1.3% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
1.3%
percentile 70%
Priority
13/100 low
how it is computed
Fix
Named by a source
CVE published 30 Mar 2020 (approx.)

Reference

None of the "Needs attention" rules apply right now.

EPSS 1.3% (+1) · Network attack vector (+10)

Immediate actions

Who should check

  • symfony/http-foundation (Packagist) pkg:composer/symfony/http-foundation

    • Affected>= 4.4.0, < 4.4.7Fixed in4.4.7OSV (GHSA-mcx4-f5f5-4859)
    • Affected>= 5.0.0, < 5.0.7Fixed in5.0.7OSV (GHSA-mcx4-f5f5-4859)
  • symfony/symfony (Packagist) pkg:composer/symfony/symfony

    • Affected>= 4.4.0, < 4.4.7Fixed in4.4.7OSV (GHSA-mcx4-f5f5-4859)
    • Affected>= 5.0.0, < 5.0.7Fixed in5.0.7OSV (GHSA-mcx4-f5f5-4859)

Confirmed facts

CVSS
2.6 LOW (version 3.1)
Score from
GitHub Advisory Database (GHSA-mcx4-f5f5-4859)
Attack vector
network
Attack complexity
high
Privileges required
low
User interaction
required
Weakness
CWE-435

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)Description ----------- When a `Response` does not contain a `Content-Type` header, Symfony falls back 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 lead to a corrupted cache where the cached format is not the right one. Resolution ---------- Symfony does not use the `Accept` header anymore to guess the `Content-Type`. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/dca343442e6a954f96a2609e7b4e9c21ed6d74e6) for the 4.4 branch. Credits ------- I would like to thank Xavier Lacot from JoliCode for reporting & Yonel Ceruto and Tobias Schultze for fixing the issue.

Update history

No events recorded. Our history starts on 1 Jan 2025.

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 7 min ago · osv 7 min ago · nvd 68 min ago · epss 7 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-symfony-2020-5255, GHSA-mcx4-f5f5-4859