{
  "schema_version": "1.4.0",
  "id": "GHSA-qwqv-rqgf-8qh8",
  "modified": "2024-05-20T21:50:04Z",
  "published": "2023-03-27T21:30:26Z",
  "aliases": [
    "CVE-2023-0778"
  ],
  "summary": "Podman Time-of-check Time-of-use (TOCTOU) Race Condition",
  "details": "A Time-of-check Time-of-use (TOCTOU) flaw was found in podman. This issue may allow a malicious user to replace a normal file in a volume with a symlink while exporting the volume, allowing for access to arbitrary files on the host file system.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Go",
        "name": "github.com/containers/podman/v4"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.4.2"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-0778"
    },
    {
      "type": "WEB",
      "url": "https://github.com/containers/podman/pull/17528"
    },
    {
      "type": "WEB",
      "url": "https://github.com/containers/podman/pull/17532"
    },
    {
      "type": "WEB",
      "url": "https://github.com/containers/podman/commit/6ca857feb07a5fdc96fd947afef03916291673d8"
    },
    {
      "type": "WEB",
      "url": "https://access.redhat.com/security/cve/CVE-2023-0778"
    },
    {
      "type": "WEB",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2168256"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/containers/podman"
    },
    {
      "type": "WEB",
      "url": "https://pkg.go.dev/vuln/GO-2023-1681"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-367"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-03-27T22:33:20Z",
    "nvd_published_at": "2023-03-27T21:15:00Z"
  }
}