Skip to content

Conversation

@shivamerla
Copy link
Contributor

  • The nvidia-cdi-hook binary copied from the toolkit image have a high CVE: GHSA-qw9x-cqr3-wc7r
  • Import from the latest commit which fixes this issue. This commit is used as a reference to obtain the toolkit image from ghcr
  • Fix the script to parse module version with the rc releases

@copy-pr-bot
Copy link

copy-pr-bot bot commented Jan 8, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Comment on lines 50 to 58
if [[ "${TOOLKIT_VERSION}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+-[0-9]{14}-([a-f0-9]{12})$ ]]; then
TOOLKIT_VERSION_SHA="${BASH_REMATCH[1]}"
SHORT_SHA="${TOOLKIT_VERSION_SHA:0:8}"
IMAGE_URL="ghcr.io/nvidia/container-toolkit:${SHORT_SHA}"
# Handle format vX.Y.Z-rc.A.B.time-commit
elif [[ "${TOOLKIT_VERSION}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+-rc\.[0-9]+\.[0-9]+\.[0-9]{14}-([a-f0-9]{12,40})$ ]]; then
TOOLKIT_VERSION_SHA="${BASH_REMATCH[1]}"
SHORT_SHA="${TOOLKIT_VERSION_SHA:0:8}"
IMAGE_URL="ghcr.io/nvidia/container-toolkit:${SHORT_SHA}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can these not be combined into a single regex?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the fix made it into v1.18.x branch, so i am going to bump to that instead which makes this change unnecessary. Will update the PR shortly.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@klueska updated this to be a single regex. PTAL.

@shivamerla shivamerla force-pushed the update_toolkit_deps branch from 522fcd4 to bc1acbe Compare January 9, 2026 17:09
@shivamerla shivamerla self-assigned this Jan 9, 2026
@shivamerla shivamerla added the dependencies Issue/PR Pull about a dependency file label Jan 9, 2026
@klueska klueska added this to the v25.12.0 milestone Jan 21, 2026
@shivamerla shivamerla requested a review from klueska January 21, 2026 19:28
@klueska
Copy link
Collaborator

klueska commented Jan 21, 2026

@elezar has said that 1.18.2 will go out a soon as Monday. Let's wait for that to get the official tag in, rather than a 1-off sha.

@elezar
Copy link
Member

elezar commented Jan 23, 2026

v1.18.2 has been released. I have updated the PR.

@elezar elezar force-pushed the update_toolkit_deps branch 2 times, most recently from eaaf162 to a28cab2 Compare January 23, 2026 14:06
@shivamerla
Copy link
Contributor Author

v1.18.2 has been released. I have updated the PR.

thanks @elezar

…ty CVE in opencontainers/runc module

* The nvidia-cdi-hook binary copied from the toolkit image have a high CVE: GHSA-qw9x-cqr3-wc7r
* Import from the latest commit which fixes this issue. This commit is used as a reference to obtain the toolkit image from ghcr
* Fix the script to parse module version with the rc releases

Signed-off-by: Shiva Krishna, Merla <smerla@nvidia.com>
Signed-off-by: Evan Lezar <elezar@nvidia.com>
@jgehrcke
Copy link
Collaborator

#825 landed in the meantime :). I think we can maybe close this one for now. If we ever need to regex proposed here, we can dig it up again.

@klueska
Copy link
Collaborator

klueska commented Jan 27, 2026

Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Issue/PR Pull about a dependency file

Projects

Development

Successfully merging this pull request may close these issues.

4 participants