Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-16790

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-16790
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:56 UTC · Revision 1

Source evidence

CVE-2017-16790

core-osv · Original source

Published 6 Aug 2018, 21:29 UTC

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.

osv:CVE-2017-16790
Complete source record
{
  "id": "6e46112b836668997f001410ad649d0fcd2f2fa59a68b71a2c81caf7fa82aa66",
  "url": "https://osv.dev/vulnerability/CVE-2017-16790",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-16790",
    "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.",
    "evidence": "osv:CVE-2017-16790",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2017-16790",
      "aliases": [
        "CVE-2017-16790",
        "GHSA-cqqh-94r6-wjrg"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/symfony/security-http",
              "type": "GIT",
              "events": [
                {
                  "introduced": "de2f3d51160791ef254010953dbde178fee9845f"
                },
                {
                  "last_affected": "e23595473a10892462e61443f07d19210ab505af"
                },
                {
                  "introduced": "a8d5dd00894f8b5e3edb897f4504c51ddc442370"
                },
                {
                  "last_affected": "c03861cc34bba4a36be756a3456334165ba6a98c"
                },
                {
                  "introduced": "a6209fac5e5984ba49d8b5a1af5e5c118a1c183e"
                },
                {
                  "last_affected": "4fe1764b69b5e7e0d74656b5214a9026313e23ab"
                },
                {
                  "introduced": "760872233cd3147870184697e3481ffa492ac2fb"
                },
                {
                  "last_affected": "a5c3f701b864a2bb1d6b71b859afd3efe3b9e43d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.7.0"
                      },
                      {
                        "last_affected": "2.7.37"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.8.0"
                      },
                      {
                        "last_affected": "2.8.30"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.2.0"
                      },
                      {
                        "last_affected": "3.2.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.3.0"
                      },
                      {
                        "last_affected": "3.3.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.2.13",
            "v2.7.37",
            "v2.7.36",
            "v2.7.35",
            "v2.7.34",
            "v2.7.33",
            "v3.2.12",
            "v3.2.11",
            "v3.2.10",
            "v2.7.32",
            "v2.7.31",
            "v2.7.30",
            "v3.2.9",
            "v2.7.29",
            "v2.7.28",
            "v3.2.8",
            "v2.7.27",
            "v3.2.7",
            "v2.7.26",
            "v3.2.6",
            "v3.2.5",
            "v2.7.25",
            "v3.2.4",
            "v3.2.3",
            "v3.2.2",
            "v2.7.24",
            "v2.7.23",
            "v3.2.1",
            "v3.2.0-RC2",
            "v3.2.0",
            "v2.7.22",
            "v2.7.21",
            "v2.7.20",
            "v2.7.19",
            "v2.7.18",
            "v2.7.17",
            "v2.7.16",
            "v2.7.15",
            "v2.7.14",
            "v2.7.13",
            "v2.7.12",
            "v2.7.10",
            "v2.7.9",
            "v2.7.8",
            "v2.7.7",
            "v2.7.6",
            "v2.7.5",
            "v2.7.4",
            "v2.7.3",
            "v2.7.2",
            "v2.7.1",
            "v2.7.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-16790.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/symfony/symfony",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9975b1eca3de4db792a2c3e4e16f676a4aadcd46"
                },
                {
                  "last_affected": "c166da413153ecbb4b83c0415f7df13c250c3342"
                },
                {
                  "introduced": "5615b92cd452cd54f1433a3f53de87c096a1107f"
                },
                {
                  "last_affected": "628af9253369a8d5a42525386edd28b757d93695"
                },
                {
                  "introduced": "b96a144bc875684f3338f697687147a2696d73eb"
                },
                {
                  "last_affected": "e1aabd6f50fb4586b330f9ac54b4bcdf7352a0f8"
                },
                {
                  "introduced": "5a7e31c48e7cd4831efa409fffb661beb9995174"
                },
                {
                  "last_affected": "1452970fc29131776505f684bd81d7a33cbaada4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.7.0"
                      },
                      {
                        "last_affected": "2.7.37"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.8.0"
                      },
                      {
                        "last_affected": "2.8.30"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.2.0"
                      },
                      {
                        "last_affected": "3.2.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.3.0"
                      },
                      {
                        "last_affected": "3.3.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.2.13",
            "v3.3.12",
            "v2.8.30",
            "v2.7.37",
            "v3.3.11",
            "v2.8.29",
            "v2.7.36",
            "v3.3.10",
            "v2.8.28",
            "v2.7.35",
            "v3.3.9",
            "v3.3.8",
            "v3.3.7",
            "v2.8.27",
            "v2.7.34",
            "v2.7.33",
            "v3.3.6",
            "v2.8.26",
            "v3.3.5",
            "v3.2.12",
            "v2.8.25",
            "v2.7.32",
            "v3.3.4",
            "v3.2.11",
            "v2.8.24",
            "v2.7.31",
            "v3.3.3",
            "v3.2.10",
            "v2.8.23",
            "v2.7.30",
            "v2.8.22",
            "v2.7.29",
            "v3.3.2",
            "v3.3.1",
            "v3.3.0",
            "v3.2.9",
            "v2.8.21",
            "v2.7.28",
            "v2.7.26",
            "v3.2.8",
            "v2.8.20",
            "v2.7.27",
            "v2.8.18",
            "v3.2.7",
            "v2.8.19",
            "v3.2.6",
            "v3.2.5",
            "v2.7.25",
            "v3.2.4",
            "v3.2.3",
            "v2.8.17",
            "v2.7.24",
            "v3.2.2",
            "v2.8.16",
            "v2.7.23",
            "v3.2.1",
            "v2.8.15",
            "v2.7.22",
            "v3.2.0",
            "v2.8.14",
            "v2.7.21",
            "v2.8.13",
            "v2.7.20",
            "v2.8.12",
            "v2.7.19",
            "v2.8.11",
            "v2.7.18",
            "v2.8.10",
            "v2.7.17",
            "v2.8.9",
            "v2.7.16",
            "v2.8.8",
            "v2.7.15",
            "v2.8.7",
            "v2.7.14",
            "v2.8.6",
            "v2.7.13",
            "v2.8.5",
            "v2.7.12",
            "v2.8.4",
            "v2.7.11",
            "v2.8.3",
            "v2.7.10",
            "v2.7.9",
            "v2.8.2",
            "v2.8.1",
            "v2.7.8",
            "v2.8.0",
            "v2.7.7",
            "v2.7.6",
            "v2.7.5",
            "v2.7.4",
            "v2.7.3",
            "v2.7.2",
            "v2.7.1",
            "v2.7.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-16790.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:46.743628597Z",
      "provider": "osv",
      "references": [
        "https://www.debian.org/security/2018/dsa-4262",
        "https://symfony.com/blog/cve-2017-16790-ensure-that-submitted-data-are-uploaded-files"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-16790",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 436396,
  "published_at": "2018-08-06T21:29:00.407+00:00"
}