Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. symfony/http-foundation
  4. ›
  5. CVE-2020-5255

CVE-2020-5255: Improper Input Validation

March 30, 2020 (updated April 9, 2020)

In Symfony, 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 content and Content-Type header. When the response is cached, this can prevent the use of the website by other users.

References

  • nvd.nist.gov/vuln/detail/CVE-2020-5255

Code Behaviors & Features

Detect and mitigate CVE-2020-5255 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.4.0 before 4.4.7, all versions starting from 5.0.0 before 5.0.7

Fixed versions

  • 4.4.7
  • 5.0.7

Solution

Upgrade to versions 4.4.7, 5.0.7 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

packagist/symfony/http-foundation/CVE-2020-5255.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:46 +0000.