Bump Go toolchain and dependencies to resolve security vulnerabilities#2538
Open
chrcha1 wants to merge 2 commits into
Open
Bump Go toolchain and dependencies to resolve security vulnerabilities#2538chrcha1 wants to merge 2 commits into
chrcha1 wants to merge 2 commits into
Conversation
Author
@microsoft-github-policy-service agree company="Microsoft" |
ibezrukavyi
previously approved these changes
Jul 17, 2026
chrcha1
force-pushed
the
cchatelain/sfi-go-cve-bumps
branch
from
July 21, 2026 21:48
7a64829 to
c5e94b6
Compare
Signed-off-by: Christelle Chatelain <cchatelain@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
chrcha1
force-pushed
the
cchatelain/sfi-go-cve-bumps
branch
from
July 21, 2026 21:54
c5e94b6 to
0716a25
Compare
Signed-off-by: chrcha1 <97578958+chrcha1@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
chrcha1
force-pushed
the
cchatelain/sfi-go-cve-bumps
branch
from
July 23, 2026 21:29
0e3cf04 to
30d33da
Compare
ibezrukavyi
approved these changes
Jul 24, 2026
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.
Description
Problem
The
retina-agentimage built fromdev/v0.0.33-windowsis flagged by container image vulnerability scanning known Go CVEs (stdlibplus modules such ascontainerd,grpc,golang.org/x/net,mapstructure/v2,runcandaws-sdk-go-v2)Since branch
dev/v0.0.33-windowswas created from commit82d621c(May 2025, ~500 commits behind), so Go toolchain/dependencies are frozen.mainis already patched, so we are fixing staleness.Aligned the branch's Go toolchain and dependencies with the patched versions
mainalready uses:mcr.microsoft.com/oss/go/microsoft/golang1.24.x -> 1.26.5across the controller/operator/cli/test Dockerfiles (Linuxazurelinux3.0, Windowswindowsservercore-ltsc2022; operator-windows movescbl-mariner2.0 -> azurelinux3.0since there's no 1.26 Mariner tag). Building with 1.26.5 clears thestdlibadvisories (the scanner reads the Go version baked into the binary).godirective1.24.3 -> 1.26.0.mapstructure/v2 -> 2.5.0,containerd -> 1.7.33,runc -> 1.2.8+selinux -> 1.13.1,grpc -> 1.79.3,golang.org/x/net -> 0.57.0,aws-sdk-go-v2/.../eventstream -> 1.7.14,docker/docker -> 28.5.2.note
left out cilium, inspektor-gadget, and docker as their patched versions dropped/moved the exact packages we import (or the fix lives in a totally different module), so bumping them breaks the build and needs the code refactors main already did (everything else was a clean version bump)
Related Issue
If this pull request is related to any issue, please mention it here. Additionally, make sure that the issue is assigned to you before submitting this pull request.
Checklist
git commit -S -s ...). See this documentation on signing commits.Screenshots (if applicable) or Testing Completed
Please add any relevant screenshots or GIFs to showcase the changes made.
Additional Notes
Add any additional notes or context about the pull request here.
Please refer to the CONTRIBUTING.md file for more information on how to contribute to this project.