{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.37.0"
              },
              {
                "introduced": "0"
              },
              {
                "fixed": "2.8.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3b78cac999d03981c4f5c4a0dfefe6043019b059"
            },
            {
              "introduced": "0"
            },
            {
              "fixed": "d969dfd62d4ac2664c2e8a85569df78be3ee5221"
            }
          ],
          "repo": "https://github.com/cloudfoundry/cf-deployment",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Cloud Foundry Diego, release versions prior to 2.8.0, does not properly sanitize file paths in tar and zip files headers. A remote attacker with CF admin privileges can upload a malicious buildpack that will allow a complete takeover of a Diego Cell VM and access to all apps running on that Diego Cell.",
  "id": "CVE-2018-1265",
  "modified": "2026-03-13T21:49:46.816866388Z",
  "published": "2018-06-06T20:29:00.470Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cloudfoundry.org/blog/cve-2018-1265/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}