{
  "published": "2025-10-30T20:55:20Z",
  "modified": "2026-01-07T00:00:00Z",
  "schema_version": "1.7.5",
  "id": "CGA-9wmv-7xvc-wjg6",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
    }
  ],
  "upstream": [
    "CVE-2018-1000156",
    "GHSA-r9rq-mhxg-686q"
  ],
  "references": [
    {
      "type": "WEB",
      "url": "https://seclists.org/bugtraq/2019/Aug/29"
    },
    {
      "type": "WEB",
      "url": "http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html"
    },
    {
      "type": "WEB",
      "url": "https://seclists.org/bugtraq/2019/Jul/54"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20180405231329/https://twitter.com/kurtseifried/status/982028968877436928"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2018:2091"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2018:2093"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2018:2097"
    },
    {
      "type": "ADVISORY",
      "url": "https://lists.debian.org/debian-lts-announce/2018/04/msg00013.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://security.gentoo.org/glsa/201904-17"
    },
    {
      "type": "ADVISORY",
      "url": "https://twitter.com/kurtseifried/status/982028968877436928"
    },
    {
      "type": "ADVISORY",
      "url": "http://rachelbythebay.com/w/2018/04/05/bangpatch/"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2018:1199"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2018:2095"
    },
    {
      "type": "ADVISORY",
      "url": "https://usn.ubuntu.com/3624-2/"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2018:2092"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2018:2094"
    },
    {
      "type": "ADVISORY",
      "url": "https://savannah.gnu.org/bugs/index.php?53566"
    },
    {
      "type": "ADVISORY",
      "url": "https://usn.ubuntu.com/3624-1/"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2018:1200"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2018:2096"
    },
    {
      "type": "REPORT",
      "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894667#19"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Chainguard",
        "name": "patch",
        "purl": "pkg:apk/chainguard/patch?arch=x86_64"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.7.6-r3"
            }
          ]
        }
      ],
      "ecosystem_specific": {
        "components": [
          {
            "component_name": "patch",
            "component_version": "",
            "component_type": "apk",
            "component_location": "/.PKGINFO",
            "component_purl": "pkg:apk/patch",
            "latest_event_status": "fixed",
            "latest_event_timestamp": "2022-09-28T11:06:03Z"
          }
        ]
      }
    },
    {
      "package": {
        "ecosystem": "Wolfi",
        "name": "patch",
        "purl": "pkg:apk/wolfi/patch?arch=x86_64"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.7.6-r3"
            }
          ]
        }
      ],
      "ecosystem_specific": {
        "components": [
          {
            "component_name": "patch",
            "component_version": "",
            "component_type": "apk",
            "component_location": "/.PKGINFO",
            "component_purl": "pkg:apk/patch",
            "latest_event_status": "fixed",
            "latest_event_timestamp": "2022-09-28T11:06:03Z"
          }
        ]
      }
    }
  ]
}
