CVE-2018-19789 Details
Description
An issue was discovered in Symfony 2.7.x before 2.7.50, 2.8.x before 2.8.49, 3.x before 3.4.20, 4.0.x before 4.0.15, 4.1.x before 4.1.9, and 4.2.x before 4.2.1. When using the scalar type hint `string` in a setter method (e.g. `setName(string $name)`) 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 `UploadedFile::__toString()` is called which will then return and disclose the path of the uploaded file. If combined with a local file inclusion issue in certain circumstances this could escalate it to a Remote Code Execution.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| sensiolabs symfony | >= 2.7.0, < 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 |
CPE
Remediation
| |
| debian debian linux | 8.0 |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| May 10, 2019 | CVE Modified | [email protected] |
| May 10, 2019 | CVE Modified | [email protected] |
| Mar 12, 2019 | Modified Analysis | [email protected] |
| Mar 10, 2019 | CVE Modified | [email protected] |
| Feb 6, 2019 | Initial Analysis | [email protected] |
| Dec 20, 2018 | CVE Modified | [email protected] |