Time-of-check Time-of-use (TOCTOU) Race Condition Affecting NVIDIA/libnvidia-container package, versions [,1.16.2)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-NVIDIALIBNVIDIACONTAINER-8097615
  • published26 Sept 2024
  • disclosed26 Sept 2024
  • creditAndres Riancho, Ronen Shustin, Shir Tamari

Introduced: 26 Sep 2024

CVE-2024-0132  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade NVIDIA/libnvidia-container to version 1.16.2 or higher.

Overview

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition in the default configuration. An attacker that controls the container images run by the Toolkit can manipulate the timing of file operations to gain unauthorized access or execute arbitrary code by exploiting the interval between checking a condition and using the result of that check.

Note:

This does not impact use cases where CDI is used.

CVSS Scores

version 4.0
version 3.1