fix(security): patch gpgv/libssl3t64 CVEs in aks-gpu-cuda-lts image - #186
Open
Runzhen (runzhen) wants to merge 1 commit into
Open
fix(security): patch gpgv/libssl3t64 CVEs in aks-gpu-cuda-lts image#186Runzhen (runzhen) wants to merge 1 commit into
Runzhen (runzhen) wants to merge 1 commit into
Conversation
IcM 862176737 flagged HIGH severity CVEs in gpgv and libssl3t64 for mcr.microsoft.com/aks/aks-gpu-cuda-lts:580.159.04-202606292144301 (ubuntu 24.04 base). Neither the builder nor final stage ran 'apt upgrade', so the base image's stale gpgv/libssl3t64 packages were carried through unpatched into the shipped image. Add 'apt upgrade -y' in the builder stage and an explicit apt-get update && apt-get upgrade in the final stage before copying artifacts, so the shipped image picks up the latest Ubuntu security patches for these packages. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes IcM 862176737 — 2 HIGH severity CVEs detected in
mcr.microsoft.com/aks/aks-gpu-cuda-lts:580.159.04-202606292144301:gpgvlibssl3t64Root cause
Neither the builder stage nor the final stage of the
Dockerfileranapt upgrade, so the Ubuntu 24.04 base image's baked-in versions ofgpgvandlibssl3t64were carried through unpatched into the shipped VHD image, even though these packages already had newer patched versions available in thenoble-securityrepo.Fix
apt upgrade -ybefore installing build deps.apt-get update && apt-get upgrade -ybefore copying build artifacts, so the shipped runtime image also picks up the latest security patches.Validation
Built the image locally (
docker build) and confirmed the final image now has current patched versions: