cve.bz

CVE-2017-16790 Improper Input Validation

6.5 mediumEPSS 1.6%Fix available

Medium (6.5). EPSS 1.6% estimated probability of exploitation activity in the next 30 days. Fixed in symfony/form 2.7.38, 2.8.31, 3.2.14.

On this page
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.

Severity

CVSS 3.0

6.5 medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-16790 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-16790?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-16790?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-16790 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sensiolabs:symfonyfrom 2.7.0 through 2.7.37
sensiolabs:symfonyfrom 2.8.0 through 2.8.30
sensiolabs:symfonyfrom 3.2.0 through 3.2.13
sensiolabs:symfonyfrom 3.3.0 through 3.3.12
debian:debian_linux9.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cqqh-94r6-wjrgPackagistsymfony/form>=2.7.0 <2.7.382.7.38
GHSA-cqqh-94r6-wjrgPackagistsymfony/form>=2.8.0 <2.8.312.8.31
GHSA-cqqh-94r6-wjrgPackagistsymfony/form>=3.0.0 <3.2.143.2.14
GHSA-cqqh-94r6-wjrgPackagistsymfony/form>=3.3.0 <3.3.133.3.13
GHSA-cqqh-94r6-wjrgPackagistsymfony/symfony>=2.7.0 <2.7.382.7.38
GHSA-cqqh-94r6-wjrgPackagistsymfony/symfony>=2.8.0 <2.8.312.8.31
GHSA-cqqh-94r6-wjrgPackagistsymfony/symfony>=3.0.0 <3.2.143.2.14
GHSA-cqqh-94r6-wjrgPackagistsymfony/symfony>=3.3.0 <3.3.133.3.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9symfony2.8.7+dfsg-1.3+deb9u1DSA-4262-1
Debian12, 13, 14symfony3.4.0+dfsg-1DEBIAN-CVE-2017-16790
Ubuntu16.04:LTSsymfonyno fix listedUBUNTU-CVE-2017-16790

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON