CVE-2018-19789
publishedphp-symfony: Multiple vulnerabilities fixed in symfony 2.8.7
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | symfony | Advisory build | 2.3.21+dfsg-4+deb8u4 | DLA-1707-1 |
| Debian | stretch | symfony | Advisory build | 2.8.7+dfsg-1.3+deb9u2 | DSA-4441-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
8- 106249 http://www.securityfocus.com/bid/106249
- [debian-lts-announce] 20190310 [SECURITY] [DLA 1707-1] symfony security update https://lists.debian.org/debian-lts-announce/2019/03/msg00009.html
- FEDORA-2018-66547a8c14 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TD3E7FZIXLVFG3SMFJPDEKPZ26TJOW7/
- FEDORA-2018-6edf04d9d6 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JZMRJ7VTHCY5AZK24G4QGX36RLUDTDKE/
- FEDORA-2018-8c06b6defd https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OA4WVFN5FYPIXAPLWZI6N425JHHDSWAZ/
- 20190510 [SECURITY] [DSA 4441-1] symfony security update https://seclists.org/bugtraq/2019/May/21
- https://symfony.com/blog/cve-2018-19789-disclosure-of-uploaded-files-full-path
- DSA-4441 https://www.debian.org/security/2019/dsa-4441
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e0d6d76bbb19b25eb52f02b6be1408cc231fc7cad6cc54a119c29de89bcd81dc
- Ingested
- 23 Sep 2026, 07:44:11 UTC
- Source record
- Official CVE record