Wiz Details NVIDIA Container Toolkit Flaw Enabling Host Escape

· Original article ↗

Summary

Wiz Research details CVE-2024-0132, a TOCTOU flaw in NVIDIA Container Toolkit that can let a container-image controller mount the host filesystem and escape isolation. NVIDIA says version 1.17.4 fixes it and a patch bypass, CVE-2025-23359.

Key points

  • Wiz Research says CVE-2024-0132 lets an attacker controlling an image run by the vulnerable toolkit manipulate filesystem paths during mounting to expose the host filesystem inside a container.
  • In the researchers’ exploit, access to the host’s docker.sock enables launching a privileged container and gaining full host access.
  • The article says the issue affects Docker, Containerd and CRI-O; Wiz also confirmed an impact on gVisor, though the same socket-based privilege escalation may require adjustments on some Linux distributions.
  • Wiz reports finding vulnerable cloud service providers and says some cases could allow full compromise of a Kubernetes cluster shared across multiple tenants.
  • The article says environments using the Container Device Interface avoid the affected code; it gives Podman’s native CDI support as an example.
  • NVIDIA Container Toolkit 1.17.4 addresses CVE-2024-0132 and the patch bypass tracked as CVE-2025-23359. Wiz also advises against disabling --no-cntlibs in production.

Article Details

Attack Vectors
  • An attacker controlling a container image can exploit a time-of-check/time-of-use flaw in NVIDIA Container Toolkit path handling by changing filesystem entries between mount operations, causing host filesystem content to be mounted into the container.
  • The described exploit replaces a container path with a symbolic link that resolves to the host filesystem root, escaping container isolation.
  • After gaining access to the host's docker.sock, the attacker can launch a privileged container to obtain full host access.
  • The article reports that the vulnerability also affects gVisor environments, although the docker.sock privilege-escalation step may require adjustments on some Linux distributions.
Defensive Notes
  • Update NVIDIA Container Toolkit to version 1.17.4, which the article says addresses both vulnerabilities.
  • Do not disable the --no-cntlibs flag in production environments.
  • Prioritize vulnerable container hosts running images from publicly writable repositories or external sources.
  • The article says environments using the Container Device Interface (CDI), including Podman configurations using native CDI support, do not use the affected code path.

MITRE ATT&CK

CVE

People

Vendors

Products

Related Articles