fix(deps): bump x/net + x/text to clear the image Trivy scan#150
Merged
Conversation
The Image Build job started failing on 2026-07-15 when two newly-published CVEs landed in Trivy's vuln DB. Not caused by any change: the same image bytes scanned clean on 07-14 (count 0), then 0->1->2 across runs on 07-15. - CVE-2026-46600 golang.org/x/net v0.55.0 -> v0.56.0 (panic parsing an invalid SVCB/HTTPS RR in dns/dnsmessage) - CVE-2026-56852 golang.org/x/text v0.37.0 -> v0.39.0 (infinite loop in norm.Iter on invalid UTF-8) Both are indirect and not called by our code, which is why govulncheck stayed green while Trivy (version-based, whole-image) flagged them — so the fix is a dependency bump, not a code change. x/sync, x/sys and x/term move transitively. Verified: go version -m bin/{controller,server} now embeds x/net v0.56.0 and x/text v0.39.0 (the build info Trivy reads); make ci green.
Codex reviewFiles reviewedRepository root:
FindingsBlockingNone. Should-fixNone. NitNone. Per-category coverage
Verdictapprove |
heymrbox
approved these changes
Jul 17, 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.
The
Image Buildjob started failing on 2026-07-15 — not caused by any PR. Two newly-published CVEs landed in Trivy's vuln DB; the same image bytes scanned clean on 07-14 (count0), then went0→1→2across runs on 07-15 (#134, #139, #148).golang.org/x/netdns/dnsmessagegolang.org/x/textnorm.Iteron invalid UTF-8Both are indirect and not called by our code — which is exactly why
govulncheck(call-based) stayed green while Trivy (version-based, whole-image) flagged them. So the fix is a dependency bump, not a code change.x/sync/x/sys/x/termmove transitively.Verified locally:
go version -m bin/{controller,server}now embedsx/net v0.56.0+x/text v0.39.0(the build info Trivy reads);make cigreen.Unblocks the image scan for #148 and every subsequent PR/main run.