An issue was discovered in Symfony before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BETA5, and…
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-918 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | symfony/form (Packagist) | 2.7.0 to before 2.7.38 | 2.7.38 | Patch available | GHSA-cqqh-94r6-wjrg |
| — | symfony/form (Packagist) | 2.8.0 to before 2.8.31 | 2.8.31 | Patch available | GHSA-cqqh-94r6-wjrg |
| — | symfony/form (Packagist) | 3.0.0 to before 3.2.14 | 3.2.14 | Patch available | GHSA-cqqh-94r6-wjrg |
| — | symfony/form (Packagist) | 3.3.0 to before 3.3.13 | 3.3.13 | Patch available | GHSA-cqqh-94r6-wjrg |
| — | symfony/symfony (Packagist) | 2.7.0 to before 2.7.38 | 2.7.38 | Patch available | GHSA-cqqh-94r6-wjrg |
| — | symfony/symfony (Packagist) | 2.8.0 to before 2.8.31 | 2.8.31 | Patch available | GHSA-cqqh-94r6-wjrg |
| — | symfony/symfony (Packagist) | 3.0.0 to before 3.2.14 | 3.2.14 | Patch available | GHSA-cqqh-94r6-wjrg |
| — | symfony/symfony (Packagist) | 3.3.0 to before 3.3.13 | 3.3.13 | Patch available | GHSA-cqqh-94r6-wjrg |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- symfony/form (Packagist) Vendor— Affected 2.7.0 to before 2.7.38 Fixed in 2.7.38 Patch available GHSA-cqqh-94r6-wjrg
- symfony/form (Packagist) Vendor— Affected 2.8.0 to before 2.8.31 Fixed in 2.8.31 Patch available GHSA-cqqh-94r6-wjrg
- symfony/form (Packagist) Vendor— Affected 3.0.0 to before 3.2.14 Fixed in 3.2.14 Patch available GHSA-cqqh-94r6-wjrg
- symfony/form (Packagist) Vendor— Affected 3.3.0 to before 3.3.13 Fixed in 3.3.13 Patch available GHSA-cqqh-94r6-wjrg
- symfony/symfony (Packagist) Vendor— Affected 2.7.0 to before 2.7.38 Fixed in 2.7.38 Patch available GHSA-cqqh-94r6-wjrg
- symfony/symfony (Packagist) Vendor— Affected 2.8.0 to before 2.8.31 Fixed in 2.8.31 Patch available GHSA-cqqh-94r6-wjrg
- symfony/symfony (Packagist) Vendor— Affected 3.0.0 to before 3.2.14 Fixed in 3.2.14 Patch available GHSA-cqqh-94r6-wjrg
- symfony/symfony (Packagist) Vendor— Affected 3.3.0 to before 3.3.13 Fixed in 3.3.13 Patch available GHSA-cqqh-94r6-wjrg
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* | 2.7.0 – 2.7.37; 2.8.0 – 2.8.30; 3.2.0 – 3.2.13; 3.3.0 – 3.3.12 | Vulnerable | sensiolabs |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
- cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* Versions 2.7.0 – 2.7.37; 2.8.0 – 2.8.30; 3.2.0 – 3.2.13; 3.3.0 – 3.3.12 Vulnerable ·sensiolabs
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
Remediation
- Fix · GHSA-cqqh-94r6-wjrg symfony/form (Packagist) Fixed in 2.7.38 Advisory →
- Fix · GHSA-cqqh-94r6-wjrg symfony/form (Packagist) Fixed in 2.8.31 Advisory →
- Fix · GHSA-cqqh-94r6-wjrg symfony/form (Packagist) Fixed in 3.2.14 Advisory →
- Fix · GHSA-cqqh-94r6-wjrg symfony/form (Packagist) Fixed in 3.3.13 Advisory →
- Fix · GHSA-cqqh-94r6-wjrg symfony/symfony (Packagist) Fixed in 2.7.38 Advisory →
- Fix · GHSA-cqqh-94r6-wjrg symfony/symfony (Packagist) Fixed in 2.8.31 Advisory →
- Fix · GHSA-cqqh-94r6-wjrg symfony/symfony (Packagist) Fixed in 3.2.14 Advisory →
- Fix · GHSA-cqqh-94r6-wjrg symfony/symfony (Packagist) Fixed in 3.3.13 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2017-16790
- 2026-10-03 Alias added: GHSA-cqqh-94r6-wjrg
References
Other 5
- https://github.com/symfony/symfony/pull/24993
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/form/CVE-2017-16790.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2017-16790.yaml
- https://github.com/symfony/form
- https://symfony.com/cve-2017-16790
Sources
- CVE-2017-16790 · CVE Program
- CVE-2017-16790 · NVD
- FIRST EPSS
- GHSA-cqqh-94r6-wjrg · GitHub Advisory Database · CC BY 4.0
- CVE-2017-16790 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences