GHSA-536j-xxhg-6pgg: Duplicate Advisory NVIDIA Container Toolkit Contains A Vulnerability
CRITICALGHSA-536j-xxhg-6pgg is a CRITICAL (CVSS 9.0) nvidia container toolkit contains a vulnerability (CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition) affecting Duplicate Advisory libraries in the Go ecosystem. The issue involves nvidia container toolkit contains a time-of-check time-of-use (toctou) vulnerability. Remediation is available by upgrading affected packages to version 1.16.2.
GHSA-536j-xxhg-6pgg at a Glance
Security Impact
CVSS: 9.0
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:R/S:C/C:H/I:H/A:H).
How to Fix GHSA-536j-xxhg-6pgg
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/NVIDIA/nvidia-container-toolkit to 1.16.2
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 GHSA-536j-xxhg-6pgg, inspect your project dependencies for Duplicate Advisory:
inspect dependencies for github.com/NVIDIA/nvidia-container-toolkit
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.16.2), 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-367: Time-of-check Time-of-use (TOCTOU) Race Condition, where the product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. In Duplicate Advisory, 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
GHSA-536j-xxhg-6pgg Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/NVIDIA/nvidia-container-toolkit
|
Go |
< 1.16.2
|
1.16.2
|
References
Frequently Asked Questions
What is GHSA-536j-xxhg-6pgg?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-536j-xxhg-6pgg?
Is github.com/NVIDIA/nvidia-container-toolkit affected?
What is the CVSS score of GHSA-536j-xxhg-6pgg?
What CWE is associated with GHSA-536j-xxhg-6pgg?
How can I check Go dependencies for GHSA-536j-xxhg-6pgg?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-536j-xxhg-6pgg",
"modified" : "2024-10-29T19:47:59Z",
"published" : "2024-09-26T06:30:48Z",
"withdrawn" : "2024-10-29T19:45:34Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: NVIDIA Container Toolkit contains a Time-of-check Time-of-Use (TOCTOU) vulnerability",
"details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-mjjw-553x-87pq. This link is maintained to preserve external references.\n\n## Original Description\nNVIDIA Container Toolkit 1.16.1 or earlier contains a Time-of-check Time-of-Use (TOCTOU) vulnerability when used with default configuration where a specifically crafted container image may gain access to the host file system. This does not impact use cases where CDI is used. A successful exploit of this vulnerability may lead to code execution, denial of service, escalation of privileges, information disclosure, and data tampering.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/NVIDIA/nvidia-container-toolkit"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.16.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-0132"
}, {
"type" : "WEB",
"url" : "https://nvidia.custhelp.com/app/answers/detail/a_id/5582"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-367" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-10-29T19:45:34Z",
"nvd_published_at" : "2024-09-26T06:15:02Z"
}
}