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

    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 ID SNYK-UNMANAGED-NVIDIALIBNVIDIACONTAINER-8097615
  • 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 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
Expand this section

Snyk

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