{
  "schema_version": "1.4.0",
  "id": "GHSA-w55j-f7vx-6q37",
  "modified": "2023-10-02T11:55:19Z",
  "published": "2023-02-06T23:49:46Z",
  "aliases": [
    "CVE-2018-1103"
  ],
  "summary": "Openshift Enterprise source-to-image vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip)",
  "details": "Openshift Enterprise source-to-image before version 1.1.10 is vulnerable to an improper validation of user input. An attacker who could trick a user into using the command to copy files locally, from a pod, could override files outside of the target directory of the command.\n\n### Specific Go Packages Affected\ngithub.com/openshift/source-to-image/pkg/tar",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Go",
        "name": "github.com/openshift/source-to-image"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.10-0.20180427153919-f5cbcbc5cc6f"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1103"
    },
    {
      "type": "WEB",
      "url": "https://github.com/openshift/source-to-image/pull/870"
    },
    {
      "type": "WEB",
      "url": "https://github.com/openshift/source-to-image/commit/f5cbcbc5cc6f8cc2f479a7302443bea407a700cb"
    },
    {
      "type": "WEB",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1103"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/openshift/source-to-image"
    },
    {
      "type": "WEB",
      "url": "https://github.com/snyk/zip-slip-vulnerability"
    },
    {
      "type": "WEB",
      "url": "https://hansmi.ch/articles/2018-04-openshift-s2i-security"
    },
    {
      "type": "WEB",
      "url": "https://pkg.go.dev/vuln/GO-2020-0026"
    },
    {
      "type": "WEB",
      "url": "https://snyk.io/research/zip-slip-vulnerability"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-22"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-02-06T23:49:46Z",
    "nvd_published_at": null
  }
}