{"id":"CVE-2017-16790","published":"2018-08-06T21:00:00Z","modified":"2024-08-05T20:35:21Z","title":"An issue was discovered in Symfony before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BETA5, and 4.0-BETA5","vendor":null,"product":null,"tier":"tail","description":{"text":"An issue was discovered in Symfony before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BETA5, and 4.0-BETA5. When a form is submitted by the user, the request handler classes of the Form component merge POST data and uploaded files data into one array. This big array forms the data that are then bound to the form. At this stage there is no difference anymore between submitted POST data and uploaded files. A user can send a crafted HTTP request where the value of a \"FileType\" is sent as normal POST data that could be interpreted as a local file path on the server-side (for example, \"file:///etc/passwd\"). If the application did not perform any additional checks about the value submitted to the \"FileType\", the contents of the given file on the server could have been exposed to the attacker.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01568,"percentile":0.75942,"provenance":"source"},"cwes":[],"references":[{"url":"https://symfony.com/blog/cve-2017-16790-ensure-that-submitted-data-are-uploaded-files","tags":["x_refsource_CONFIRM"]},{"url":"https://www.debian.org/security/2018/dsa-4262","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":15.19}]},"affected":[{"ecosystem":"Packagist","package":"symfony/form","vulnerableRanges":[">=2.7.0, <2.7.38",">=2.8.0, <2.8.31",">=3.0.0, <3.2.14",">=3.3.0, <3.3.13"],"patched":["2.7.38","2.8.31","3.2.14","3.3.13"],"from":["GHSA-cqqh-94r6-wjrg"],"provenance":"source"},{"ecosystem":"Packagist","package":"symfony/symfony","vulnerableRanges":[">=2.7.0, <2.7.38",">=2.8.0, <2.8.31",">=3.0.0, <3.2.14",">=3.3.0, <3.3.13"],"patched":["2.7.38","2.8.31","3.2.14","3.3.13"],"from":["GHSA-cqqh-94r6-wjrg"],"provenance":"source"}],"summary":{"text":"The Form component of Symfony versions before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BETA5, and 4.0-BETA5 merges POST data and uploaded file data into one array when a form is submitted, so a value sent as ordinary POST data is indistinguishable from a file upload. An attacker who can send a crafted HTTP request can supply a file-type field value as a local server path such as \"file:///etc/passwd\", which could expose the contents of that file if the application does not perform its own checks on the submitted value.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:59Z"},"euvd":{"id":"EUVD-2022-3618","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2015-8125","published":"2015-12-07","fixed":"2.7.7","kev":false},{"cve":"CVE-2017-16790","published":"2018-08-06","fixed":"3.3.13","kev":false},{"cve":"CVE-2018-19789","published":"2018-12-18","fixed":"4.2.1","kev":false,"link":{"from":"CVE-2017-16790","to":"CVE-2018-19789","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/form","fromFixed":"2.7.38","toFixed":"2.7.50","daysApart":134},{"kind":"version-step","provenance":"source","package":"Packagist:symfony/form","fromFixed":"3.3.13","toFixed":"3.4.20","daysApart":134}]}}],"package":"Packagist:symfony/form"}}