deps: bump x/net, x/text and Go toolchain to clear CVEs - #635
Merged
Ruinan Liu (ruinan-liu) merged 1 commit intoAug 7, 2026
Merged
Conversation
Clears 10 of 11 trivy findings on eno-controller and eno-reconciler v0.2.15 (5 HIGH, 4 MEDIUM, 1 UNKNOWN): golang.org/x/net v0.54.0 -> v0.56.0 CVE-2026-25680/25681/27136/39821/42502/42506/46600 golang.org/x/text v0.37.0 -> v0.39.0 CVE-2026-56852 toolchain go1.25.11 -> go1.25.12 CVE-2026-39822, CVE-2026-42505 (stdlib) x/sync, x/sys and x/term moved as transitive consequences of go mod tidy. The remaining finding is github.com/google/cel-go GHSA-gcjh-h69q-9w9g, already addressed by Azure#632. Verified by building both images from this branch and scanning with trivy: eno-controller 11 -> 1, eno-reconciler 11 -> 1. Unit tests show no regression - the same two pre-existing failures (TestHelmOwnershipTransfer, TestHelmOwnershipTransferAfterCreation) on both baseline and this branch.
makowda
requested review from
Robbie Zhang (robbiezhang),
Ruinan Liu (ruinan-liu),
Tingting Liu (tilnl) and
xiazhan
as code owners
August 7, 2026 19:36
Contributor
Author
|
Ruinan Liu (ruinan-liu)
approved these changes
Aug 7, 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.
What
Bumps
golang.org/x/net,golang.org/x/textand the Go toolchain to clear CVEs reported againsteno-controllerandeno-reconcileratv0.2.15, which is the currently deployed tag in AKS.x/sync,x/sysandx/termmoved as transitive consequences ofgo mod tidy. No source changes.Why
Trivy reports 11 findings against
v0.2.15(5 HIGH, 5 MEDIUM, 1 UNKNOWN):golang.org/x/netgolang.org/x/textstdlibgithub.com/google/cel-goCVE-2026-46600requiresx/net≥ 0.56.0, which is why this goes to 0.56.0 rather than 0.55.0.cel-go is not included here — it is already handled by #632. With both merged, each image reaches 0.
Verification — CVEs cleared
Built both images from this branch and from unmodified
v0.2.15, then scanned each with the same trivy build.eno-controllereno-reconcilerAll 5 HIGH cleared on both images.
Verification — no behavioral regression
Full unit suite via the
make testinvocation (setup-envtest, k8s 1.36.2 assets), run against unmodifiedv0.2.15and against this branch.v0.2.15okIdentical, and the two failures are pre-existing on unmodified
v0.2.15:One run on this branch additionally showed
TestOverrideVPAUpdateModefailing. I chased it rather than assuming it was noise:-run '^TestOverrideVPAUpdateMode$' -count=5→ 5/5 pass./internal/controllers/reconciliationpackage, 3 repeats → 3/3 pass, only the two pre-existing failures each timeIt is a flaky envtest under parallel load, not a consequence of this change.
Note on
bewang/cvesThat branch also touches these dependencies but moves them backwards (
toolchain 1.25.11 → 1.25.9,x/net 0.54.0 → 0.43.0,x/text 0.37.0 → 0.28.0) — it predates currentmain, so merging it would increase the CVE count. Flagging so it isn't mistaken for an existing fix.