Vulnerabilities in pkg:golang/github.com/NVIDIA/nvidia-container-toolkit

PACKAGE
Advisory Identifier: GHSA-67jc-hmvg-q4c7
Advisory Summary

CVE-2025-23267 is a HIGH (CVSS 8.5) nvidia container toolkit for all vulnerability (CWE-59: Improper Link Resolution Before File Access ('Link Following')) affecting Github.com/NVIDIA/nvidia container toolkit libraries in the Go ecosystem. The issue involves nvidia container toolkit for all platforms contains a vulnerability in the update-ldcache hook. Remediation is available by upgrading affected packages to version 1.17.8, 0.17.3, 25.3.2, 0.12.2.

6 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/NVIDIA/nvidia-container-toolkit

6 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/NVIDIA/nvidia-container-toolkit. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-67jc-hmvg-q4c7 CVE-2025-23267 HIGH NVIDIA Container Toolkit for all platforms contains a vulnerability in the update-ldcache hook
GHSA-vmg3-7v43-9g23 CVE-2025-23266 CRITICAL NVIDIA Container Toolkit for all platforms contains an Untrusted Search Path
GHSA-f748-7hpg-88ch CVE-2024-0133 MODERATE NVIDIA Container Toolkit allows specially crafted container image to create empty files on the host file system
GHSA-g4pj-mx9f-m2mh - MODERATE Duplicate Advisory: NVIDIA Container Toolkit allows specially crafted container image to create empty files on the host file system
GHSA-mjjw-553x-87pq CVE-2024-0132 CRITICAL NVIDIA Container Toolkit contains a Time-of-check Time-of-Use (TOCTOU) vulnerability
GHSA-536j-xxhg-6pgg - CRITICAL Duplicate Advisory: NVIDIA Container Toolkit contains a Time-of-check Time-of-Use (TOCTOU) vulnerability

CVE-2025-23267 at a Glance

CVE Identifier CVE-2025-23267
GHSA Identifier GHSA-67jc-hmvg-q4c7
Severity HIGH
CVSS v3.1 Base Score 8.5
CWE Classification CWE-59: Improper Link Resolution Before File Access ('Link Following')
Affected Product Github.com/NVIDIA/nvidia container toolkit
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability High (A:H)

How to Fix CVE-2025-23267

To remediate this vulnerability, upgrade all affected Github.com/NVIDIA/nvidia container toolkit dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/NVIDIA/nvidia-container-toolkit fixed: 1.17.8
Upgrade github.com/NVIDIA/nvidia-container-toolkit to 1.17.8
github.com/NVIDIA/k8s-device-plugin fixed: 0.17.3
Upgrade github.com/NVIDIA/k8s-device-plugin to 0.17.3
github.com/NVIDIA/gpu-operator fixed: 25.3.2
Upgrade github.com/NVIDIA/gpu-operator to 25.3.2
github.com/NVIDIA/mig-parted fixed: 0.12.2
Upgrade github.com/NVIDIA/mig-parted to 0.12.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/NVIDIA/nvidia-container-toolkit

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-23267, inspect your project dependencies for Github.com/NVIDIA/nvidia container toolkit:

inspect dependencies for github.com/NVIDIA/nvidia-container-toolkit

Analyze the terminal output to locate any version of Github.com/NVIDIA/nvidia container toolkit in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.17.8), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-59: Improper Link Resolution Before File Access ('Link Following'), where the product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. In Github.com/NVIDIA/nvidia container toolkit, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

NVIDIA Container Toolkit for all platforms contains a vulnerability in the update-ldcache hook, where an attacker could cause a link following by using a specially crafted container image. A successful exploit of this vulnerability might lead to data tampering and denial of service.

CVE-2025-23267 Affected Github.com/NVIDIA/nvidia container toolkit Versions

4 component(s)
Fixed Versions:
1.17.80.17.325.3.20.12.2
Product / Package Ecosystem Affected Versions Fixed Version
github.com/NVIDIA/nvidia-container-toolkit
Go
< 1.17.8
1.17.8
github.com/NVIDIA/k8s-device-plugin
Go
< 0.17.3
0.17.3
github.com/NVIDIA/gpu-operator
Go
< 25.3.2
25.3.2
github.com/NVIDIA/mig-parted
Go
< 0.12.2
0.12.2

References

Frequently Asked Questions

What is CVE-2025-23267?
CVE-2025-23267 is a security vulnerability in Github.com/NVIDIA/nvidia container toolkit involving NVIDIA Container Toolkit for all platforms contains a vulnerability in the update-ldcache hook under CWE-59: Improper Link Resolution Before File Access ('Link Following').
Which Github.com/NVIDIA/nvidia container toolkit versions are affected?
Affected versions include releases prior to 1.17.8, 0.17.3, 25.3.2, 0.12.2 across affected packages: github.com/NVIDIA/nvidia-container-toolkit, github.com/NVIDIA/k8s-device-plugin, github.com/NVIDIA/gpu-operator, github.com/NVIDIA/mig-parted.
What version fixes CVE-2025-23267?
Upgrading to 1.17.8, 0.17.3, 25.3.2, 0.12.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/NVIDIA/nvidia-container-toolkit affected?
Yes, github.com/NVIDIA/nvidia-container-toolkit is affected in releases prior to 1.17.8. Upgrade your dependency to 1.17.8 or later.
Is github.com/NVIDIA/k8s-device-plugin affected?
Yes, github.com/NVIDIA/k8s-device-plugin is affected in releases prior to 0.17.3. Upgrade your dependency to 0.17.3 or later.
What is the CVSS score of CVE-2025-23267?
CVE-2025-23267 has a CVSS v3.1 base score of 8.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H.
What CWE is associated with CVE-2025-23267?
CVE-2025-23267 is classified under CWE-59: Improper Link Resolution Before File Access ('Link Following') (The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.).
How can I check Go dependencies for CVE-2025-23267?
Run the dependency tree command: 'inspect dependencies for github.com/NVIDIA/nvidia-container-toolkit'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-67jc-hmvg-q4c7",
  "modified" : "2025-11-05T20:32:01Z",
  "published" : "2025-07-17T21:32:15Z",
  "aliases" : [ "CVE-2025-23267" ],
  "summary" : "NVIDIA Container Toolkit for all platforms contains a vulnerability in the update-ldcache hook",
  "details" : "NVIDIA Container Toolkit for all platforms contains a vulnerability in the update-ldcache hook, where an attacker could cause a link following by using a specially crafted container image. A successful exploit of this vulnerability might lead to data tampering and denial of service.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/NVIDIA/nvidia-container-toolkit"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.17.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/NVIDIA/k8s-device-plugin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.17.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/NVIDIA/gpu-operator"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "25.3.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/NVIDIA/mig-parted"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.12.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-23267"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/NVIDIA/gpu-operator"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/NVIDIA/k8s-device-plugin"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/NVIDIA/mig-parted"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/NVIDIA/nvidia-container-toolkit"
  }, {
    "type" : "WEB",
    "url" : "https://nvidia.custhelp.com/app/answers/detail/a_id/5659"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2025-3998"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2025/07/16/3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-59" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-02T20:53:28Z",
    "nvd_published_at" : "2025-07-17T20:15:28Z"
  }
}