Time-of-check Time-of-use (TOCTOU) Race Condition Affecting github.com/nvidia/nvidia-container-toolkit/internal/config package, versions <1.17.4


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.04% (12th 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-GOLANG-GITHUBCOMNVIDIANVIDIACONTAINERTOOLKITINTERNALCONFIG-8720386
  • published13 Feb 2025
  • disclosed12 Feb 2025
  • creditAndres Riancho, Shir Tamari, Ronen Shustin, Lei Wang

Introduced: 12 Feb 2025

NewCVE-2025-23359  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade github.com/NVIDIA/nvidia-container-toolkit/internal/config to version 1.17.4 or higher.

Overview

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition. An attacker can manipulate the host file system and potentially execute arbitrary code, cause denial of service, escalate privileges, disclose sensitive information, or tamper with data by exploiting the time gap between checking and using a file or resource.

CVSS Scores

version 4.0
version 3.1