Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-1000052

Elixir Plug before v1.0.4, v1.1.7, v1.2.3 and v1.3.2 is vulnerable to null byte injection in the Plug.Static component, which may allow users to bypass filetype restrictions.

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

Source evidence

CVE-2017-1000052

core-osv · Original source

Published 17 Jul 2017, 13:18 UTC

Elixir Plug before v1.0.4, v1.1.7, v1.2.3 and v1.3.2 is vulnerable to null byte injection in the Plug.Static component, which may allow users to bypass filetype restrictions.

osv:CVE-2017-1000052
Complete source record
{
  "id": "4f701f7d7c65b182c71019b222aca995289e85508ecaacaa58adfdf25cb1477c",
  "url": "https://osv.dev/vulnerability/CVE-2017-1000052",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-1000052",
    "summary": "Elixir Plug before v1.0.4, v1.1.7, v1.2.3 and v1.3.2 is vulnerable to null byte injection in the Plug.Static component, which may allow users to bypass filetype restrictions.",
    "evidence": "osv:CVE-2017-1000052",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-1000052",
      "aliases": [
        "CVE-2017-1000052",
        "GHSA-2q6v-32mr-8p8x"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/elixir-plug/plug",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4b80fadc83707c5a583524f7bc2322a0540d134c"
                },
                {
                  "fixed": "af80b240b3e53a6ebf126aceafc905c8418c9ac9"
                },
                {
                  "introduced": "263f5ed01889611df8ecc25260e02091d095e9f3"
                },
                {
                  "fixed": "96fd47bbded5515e9bf0753332598666d3eb7ca8"
                },
                {
                  "introduced": "1b161d55dc383df6f9e44e08f8359a862ad70b6c"
                },
                {
                  "fixed": "9ae28a1b7896b7c816ea74cf5264ded53ff49fcf"
                },
                {
                  "introduced": "25eae222d0af1f70143efe90f1873f76f8f4db64"
                },
                {
                  "fixed": "3b76816c8d90fa07e226b6b0355eca58495c1556"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:plug_project:plug:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.0.0"
                      },
                      {
                        "fixed": "1.0.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:plug_project:plug:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.1.0"
                      },
                      {
                        "fixed": "1.1.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:plug_project:plug:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.2.0"
                      },
                      {
                        "fixed": "1.2.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:plug_project:plug:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.3.0"
                      },
                      {
                        "fixed": "1.3.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.2.2",
            "v1.1.6",
            "v1.0.3",
            "v1.3.1",
            "v1.3.0",
            "v1.2.1",
            "v1.2.0",
            "v1.1.5",
            "v1.1.4",
            "v1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-1000052.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:22.125235657Z",
      "provider": "osv",
      "references": [
        "https://elixirforum.com/t/security-releases-for-plug/3913"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-1000052",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430653,
  "published_at": "2017-07-17T13:18:17.593+00:00"
}