{
  "schema_version": "1.4.0",
  "id": "GHSA-w4vg-rf63-f3j3",
  "modified": "2024-10-08T13:00:28Z",
  "published": "2018-07-12T14:45:42Z",
  "aliases": [
    "CVE-2016-9190"
  ],
  "summary": "Arbitrary code using \"crafted image file\" approach affecting Pillow",
  "details": "Pillow before 3.3.2 allows context-dependent attackers to execute arbitrary code by using the \"crafted image file\" approach, related to an \"Insecure Sign Extension\" issue affecting the ImagingNew in Storage.c component.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
    },
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "Pillow"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.3.2"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-9190"
    },
    {
      "type": "WEB",
      "url": "https://github.com/python-pillow/Pillow/issues/2105"
    },
    {
      "type": "WEB",
      "url": "https://github.com/python-pillow/Pillow/pull/2146/commits/5d8a0be45aad78c5a22c8d099118ee26ef8144af"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-w4vg-rf63-f3j3"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-9.yaml"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/python-pillow/Pillow"
    },
    {
      "type": "WEB",
      "url": "https://security.gentoo.org/glsa/201612-52"
    },
    {
      "type": "WEB",
      "url": "http://pillow.readthedocs.io/en/3.4.x/releasenotes/3.3.2.html"
    },
    {
      "type": "WEB",
      "url": "http://www.debian.org/security/2016/dsa-3710"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/94234"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-284"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:59:34Z",
    "nvd_published_at": null
  }
}