CVE-2018-19789: debian debian_linux
Vulnerability summary
CVE-2018-19789 is a medium (CVSS 5.3) vulnerability in debian debian_linux. EPSS estimates a 3.59% chance of exploitation in the next 30 days, higher than 89.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2Timeline
- 18-12-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
3.59%
Chance of exploitation in the next 30 days
Percentile
89%
Versus all other CVEs
30-day change
0.00 pp
From 3.59% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian2 products
- symfony< 3.4.20+dfsg-1
- debian_linuxEOL8.0
Sensiolabs1 product
- 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
Ubuntu1 product
- symfonyAll versions (No fix recorded)
3 vendors · 4 products
References
11 links- symfony.com/blog/cve-2018-19789-disclosure-of-uploaded-files-full-pathX Refsource CONFIRMPatchVendor AdvisoryREPORT
- lists.debian.org/debian-lts-announce/2019/03/msg00009.htmlMailing ListX Refsource MLISTThird Party Advisory