fix(AIT-73758): update vulnerable Go dependencies and build with Go 1.26 - #17
Merged
Merged
Conversation
- golang.org/x/crypto v0.53.0 -> v0.56.0 (CVE-2026-56854, CVE-2026-56855, CVE-2026-78662) - google.golang.org/grpc v1.80.0 -> v1.83.2 (GHSA-hrxh-6v49-42gf, CVE-2026-84303, CVE-2026-84304, CVE-2026-84445); this also pulls newer cloud.google.com/go/storage, google.golang.org/api and OpenTelemetry modules - golang.org/x/net v0.56.0 -> v0.58.0 - go directive 1.25.0 -> 1.26.0 (required by x/crypto v0.56.0); CI matrix and Dockerfile moved to Go 1.26 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.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
Fix the Go dependency vulnerabilities reported for
acp/registry(AIT-73758).golang.org/x/cryptogoogle.golang.org/grpcgolang.org/x/netgodirectiveThe grpc bump also pulls newer
cloud.google.com/go/storage(v1.56.0),google.golang.org/api(v0.264.0) and OpenTelemetry (v1.44.0) modules. The CI matrix moves to Go 1.26.x / 1.27.x andDockerfileto Go 1.26.8.vendor/is regenerated withgo mod vendor.The stdlib CVEs in the ticket are fixed by building with the current
golang:1.26builder (go1.26.8) inacp/registry-builder.CVE-2026-41888 (GHSA-6pjf-3r9x-m592) is a false positive: this branch is based on upstream v3.1.1, which already contains the fix (8baf3e0). The scanner treats
v3.1.1-alauda.Nas a pre-release of 3.1.1.Verification
make binarieswith go1.26.8: OK;go version -m bin/registryshows x/crypto v0.56.0, grpc v1.83.2make test: all 38 packages passgovulncheck -mode binary bin/registry: no x/crypto / grpc / stdlib findings left. Remaining: aws-sdk-go v1 CVE-2020-8911/8912 (no fix), klauspost/compress GO-2026-5841, GO-2026-5932 (no fix,openpgpnot in the dependency graph), and the CVE-2026-41888 version false positiveAfter merge
Tag the merge commit as
v3.1.1-alauda.3;acp/registry-builder(release-4.4) will build from that tag.🤖 Generated with Claude Code