ZeroHour

CVE-2024-0132

mass

TOCTOU Flaw in NVIDIA Container Toolkit Grants Host Filesystem Access from Containers

CVSS 3.1
8.3 high
EPSS
41%p99
Published
()
Modified
AI analysis

NVIDIA Container Toolkit versions 1.16.1 and earlier contain a Time-of-Check Time-of-Use (TOCTOU) race condition (CWE-367) that, with the default configuration, allows a specifically crafted container image to gain access to the host file system. The flaw is triggered when a vulnerable toolkit prepares GPU resources for a running container, so environments that execute attacker- or user-supplied images — such as multi-tenant AI platforms and shared GPU clusters — face the greatest risk, while deployments using CDI mode are explicitly not affected. A successful exploit can lead to code execution, escalation of privileges, information disclosure, data tampering, or denial of service on the host. Affected operators include those running the toolkit standalone and those deploying it through the NVIDIA GPU Operator. No confirmed in-the-wild exploitation is documented (not in CISA KEV), but headlines indicate researchers demonstrated working exploits, including one bypassing the initial patch, and EPSS assigns a 40.8% probability of exploitation within 30 days (99th percentile).

What to do: Upgrade NVIDIA Container Toolkit to a fixed release newer than 1.16.1 and update NVIDIA GPU Operator deployments so they bundle the fixed toolkit; because researchers demonstrated a bypass of the initial patch, confirm the latest vendor release is installed. Where feasible, switch the container runtime to CDI mode, which is not affected by this flaw, and restrict GPU hosts to running trusted images. Review hosts that have run untrusted or user-submitted images for signs of compromise.

Affected
NVIDIA Container Toolkit1.16.1 and earlier (default configuration; CDI-mode use is not affected)
NVIDIA GPU Operatordeployments bundling NVIDIA Container Toolkit 1.16.1 or earlier
Estimated exposure
masson the order of 1M+ GPU-accelerated host installations, though only a subset run untrusted images (exact counts unknown) — NVIDIA Container Toolkit is the default mechanism for exposing NVIDIA GPUs to Docker and Kubernetes containers and is bundled with the GPU Operator, so it plausibly ships on well over 100k cloud and on-prem AI hosts given the scale of…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

NVIDIA Container Toolkit 1.16.1 or earlier contains a Time-of-check Time-of-Use (TOCTOU) vulnerability when used with default configuration where a specifically crafted container image may gain access to the host file system. This does not impact use cases where CDI is used. A successful exploit of this vulnerability may lead to code execution, denial of service, escalation of privileges, information disclosure, and data tampering.

Vendors
nvidia
Products
nvidia container toolkit, nvidia gpu operator
Weakness
CWE-367
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

In the news