Information Exposure Affecting symfony/symfony package, versions >=2.7.38, <2.7.50>=2.8.0, <2.8.49>=3.0.0, <3.4.20>=4.0.0, <4.0.15>=4.1.0, <4.1.9>=4.2.0, <4.2.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.59% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-SYMFONYSYMFONY-72657
  • published10 Dec 2018
  • disclosed7 Dec 2018
  • creditDavid Gorges

Introduced: 7 Dec 2018

CVE-2018-19789  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade symfony/symfony to versions 2.7.50, 2.8.49, 3.4.20, 4.0.15, 4.1.9 4.2.1 or higher.

Overview

symfony/symfony is a The Symfony PHP framework.

Affected versions of this package are vulnerable to Information Exposure. When using the scalar type hint string in a setter method of a class that’s the data_class of a form, and when a file upload is submitted to the corresponding field instead of a normal text input, then the UploadedFile::__toString() function is called which will then return and disclose the path of the uploaded file.

CVSS Scores

version 3.1