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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (19th 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 ID SNYK-UNMANAGED-NVIDIALIBNVIDIACONTAINER-8097759
  • published 26 Sep 2024
  • disclosed 26 Sep 2024
  • credit Andres Riancho, Ronen Shustin, Shir Tamari

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 create empty files on the host file system 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
Expand this section

Snyk

Recommended
5.1 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    Passive
  • Confidentiality (VC)
    None
  • Integrity (VI)
    None
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    Low
  • Availability (SA)
    None