Skip to content

fix(AIT-73758): update vulnerable Go dependencies and build with Go 1.26 - #17

Merged
wgkingk merged 1 commit into
v3.1.1-alaudafrom
fix/AIT-73758-go-vulnerabilities
Sep 17, 2026
Merged

wgkingk merged 1 commit into
v3.1.1-alaudafrom
fix/AIT-73758-go-vulnerabilities

Conversation

@wgkingk

@wgkingk wgkingk commented Sep 17, 2026

Copy link
Copy Markdown

Summary

Fix the Go dependency vulnerabilities reported for acp/registry (AIT-73758).

Module Before After Fixes
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
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

The 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 and Dockerfile to Go 1.26.8. vendor/ is regenerated with go mod vendor.

The stdlib CVEs in the ticket are fixed by building with the current golang:1.26 builder (go1.26.8) in acp/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.N as a pre-release of 3.1.1.

Verification

  • make binaries with go1.26.8: OK; go version -m bin/registry shows x/crypto v0.56.0, grpc v1.83.2
  • make test: all 38 packages pass
  • govulncheck -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, openpgp not in the dependency graph), and the CVE-2026-41888 version false positive

After 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

- 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>
@wgkingk
wgkingk merged commit aa71677 into v3.1.1-alauda Sep 17, 2026
14 of 20 checks passed
@wgkingk
wgkingk deleted the fix/AIT-73758-go-vulnerabilities branch September 17, 2026 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant