{
  "id": "CVE-2025-23359",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-23359",
  "published_at": "2025-02-12T00:52:43.646Z",
  "vendor": "NVIDIA",
  "product": "Container Toolkit",
  "cvss": {
    "score": 8.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "NVIDIA Container Toolkit for Linux contains a Time-of-Check Time-of-Use (TOCTOU) vulnerability when used with default configuration, where a crafted container image could gain access to the host file system. A successful exploit of this vulnerability might lead to code execution, denial of service, escalation of privileges, information disclosure, and data tampering.",
  "cwe": "CWE-367",
  "cpes": [
    "cpe:2.3:a:nvidia:nvidia_container_toolkit:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:nvidia:nvidia_gpu_operator:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.3,
    "nvd": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "NVIDIA",
        "product": "Container Toolkit",
        "ranges": [
          "All versions up to and including 1.17.3"
        ],
        "fixed_in": null
      },
      {
        "vendor": "NVIDIA",
        "product": "GPU Operator",
        "ranges": [
          "All versions up to and including 24.9.1"
        ],
        "fixed_in": null
      }
    ],
    "workarounds": [
      "This vulnerability does not impact use cases where CDI is used.\n\n\nThe fix for this vulnerability changes the default behavior of the NVIDIA Container Toolkit. By default the NVIDIA CUDA compatibility libraries from /usr/local/cuda/compat in the container are no longer mounted to the default library path in the container being run. This may affect certain applications that depend on this behavior.\n\n\nA feature flag, allow-cuda-compat-libs-from-container was included in the NVIDIA Container Toolkit to allow users to opt-in to the previous behavior if required.\nWarning: Opting-in to the previous behavior will remove protection against this vulnerability and is not recommended.\n\n\nTo set the feature flag ensure that the NVIDIA Container Toolkit config file at /etc/nvidia-container-runtime/config.toml includes:\n\n[features]\n  allow-cuda-compat-libs-from-container = true\n\n Setting the value above to false or removing the config file entry will disable the feature.\n\n\nIn the case of the NVIDIA GPU Operator the feature flag can be set by including the following in the NVIDIA GPU Operator helm install command:\n\n--set \"toolkit.env[0].name=NVIDIA_CONTAINER_TOOLKIT_OPT_IN_FEATURES\" --set \"toolkit.env[0].value=allow-cuda-compat-libs-from-container\"\n\n \n\nFor users who know that their application needs CUDA Forward Compatibility the following workaround can be used:\n\n\nSetting the LD_LIBRARY_PATH environment variable to include /usr/local/cuda/compat\n\n\nThis may cause portability issues for some containers when running across multiple driver versions – especially when these are more recent than the compatibility libraries in the container."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://thehackernews.com/2025/04/incomplete-patch-in-nvidia-toolkit.html",
      "source": "cvelist",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
