CVE-2024-0132 NVIDIA Container Toolkit contains a Time-of-check Time-of-Use (TOCTOU) vulnerability

Critical 9.0 Published Updated

Attackers can exploit a race condition in NVIDIA Container Toolkit to escape containers and execute code on the host system.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-0132?

CVE-2024-0132 is a critical vulnerability in NVIDIA Container Toolkit, published on 26 Sep 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-367

Which versions are affected by CVE-2024-0132?

3 open source packages ship an affected version, including github.com/NVIDIA/nvidia-container-toolkit. It affects 2 products.

PackageAffectedFixed in
github.com/NVIDIA/nvidia-container-toolkit GoAll versions1.16.2
github.com/NVIDIA/nvidia-container-toolkit GoAll versions1.16.2
github.com/NVIDIA/nvidia-container-toolkit GoAll versions1.16.2

Products include Nvidia Nvidia Container Toolkit, Nvidia Nvidia Gpu Operator.

How do I fix CVE-2024-0132?

Upgrade github.com/NVIDIA/nvidia-container-toolkit to 1.16.2 or later.

Is CVE-2024-0132 being exploited?

There is no known exploitation of CVE-2024-0132 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry and 2 proofs of concept on GitHub.

Sources

Also known as AZL-50160, AZL-50180, GHSA-mjjw-553x-87pq, GO-2024-3239.

Is CVE-2024-0132 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free