UNIX Symbolic Link (Symlink) Following Affecting github.com/nvidia/nvidia-container-toolkit/cmd/nvidia-cdi-hook/create-symlinks package, versions <1.17.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (11th 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-GOLANG-GITHUBCOMNVIDIANVIDIACONTAINERTOOLKITCMDNVIDIACDIHOOKCREATESYMLINKS-8353105
  • published 8 Nov 2024
  • disclosed 5 Nov 2024
  • credit Andres Riancho, Ronen Shustin, Shir Tamari

How to fix?

Upgrade github.com/NVIDIA/nvidia-container-toolkit/cmd/nvidia-cdi-hook/create-symlinks to version 1.17.0 or higher.

Overview

Affected versions of this package are vulnerable to UNIX Symbolic Link (Symlink) Following through the handling of container images. An attacker can create unauthorized files on the host by using a specially-crafted container image.

Note:

This is only exploitable if the attacker has the ability to deploy custom containers on the system.

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