Repository navigation
fix(deps): upgrade modules flagged by govulncheck - #821
Conversation
govulncheck reports 11 vulnerabilities in code that cloudlist calls, spread over six modules. Upgrade golang.org/x/net from v0.58.0 to v0.60.0 (GO-2026-6603, GO-2026-6610, GO-2026-6611, GO-2026-6612, GO-2026-6617); google.golang.org/grpc from v1.73.0 to v1.83.1 (GO-2026-6061, GO-2026-6348); github.com/andybalholm/brotli from v1.2.0 to v1.2.7 (GO-2026-6888); github.com/klauspost/compress from v1.18.7 to v1.20.2 (GO-2026-6865); and github.com/yuin/goldmark from v1.7.4 to v1.7.17 (GO-2026-5320). GO-2026-5506 in go.opentelemetry.io/otel is fixed in v1.41.0, but grpc v1.83.1 requires v1.44.0, so otel, otel/metric, and otel/trace move from v1.36.0 to v1.44.0. The upgrades also raise four direct requirements: golang.org/x/oauth2 from v0.30.0 to v0.36.0, google.golang.org/api from v0.240.0 to v0.264.0, google.golang.org/protobuf from v1.36.6 to v1.36.11, and cloud.google.com/go/asset from v1.21.1 to v1.22.0. The go directive stays at 1.26.10. oauth2 v0.36.0 deprecates google.CredentialsFromJSON, which the GCP provider uses to load both the source credentials file and the service account key, so staticcheck now reports SA1019 on both calls. The typed replacement accepts a single credential type, and switching to it would mean deciding which credential files to stop accepting. Keep the existing calls and suppress SA1019 on them. Fixes: #820 Signed-off-by: Dwi Siswanto <git@dw1.io>
|
No actionable comments were generated in the recent review. WalkthroughThe Go directive changes from 1.24.0 to 1.26.10, and selected direct and indirect dependencies are upgraded. GCP credential parsing adds SA1019 suppressions; its branches and error handling are unchanged. ChangesGo maintenance
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: Merge Risk:
|
govulncheck reports 11 vulnerabilities in code that cloudlist calls,
spread over six modules. Upgrade golang.org/x/net from v0.58.0 to
v0.60.0 (GO-2026-6603, GO-2026-6610, GO-2026-6611, GO-2026-6612,
GO-2026-6617); google.golang.org/grpc from v1.73.0 to v1.83.1
(GO-2026-6061, GO-2026-6348); github.com/andybalholm/brotli from v1.2.0
to v1.2.7 (GO-2026-6888); github.com/klauspost/compress from v1.18.7 to
v1.20.2 (GO-2026-6865); and github.com/yuin/goldmark from v1.7.4 to
v1.7.17 (GO-2026-5320).
GO-2026-5506 in go.opentelemetry.io/otel is fixed in v1.41.0, but grpc
v1.83.1 requires v1.44.0, so otel, otel/metric, and otel/trace move
from v1.36.0 to v1.44.0.
The upgrades also raise four direct requirements: golang.org/x/oauth2
from v0.30.0 to v0.36.0, google.golang.org/api from v0.240.0 to
v0.264.0, google.golang.org/protobuf from v1.36.6 to v1.36.11, and
cloud.google.com/go/asset from v1.21.1 to v1.22.0. The go directive
stays at 1.26.10.
oauth2 v0.36.0 deprecates google.CredentialsFromJSON, which the GCP
provider uses to load both the source credentials file and the service
account key, so staticcheck now reports SA1019 on both calls. The typed
replacement accepts a single credential type, and switching to it would
mean deciding which credential files to stop accepting. Keep the
existing calls and suppress SA1019 on them.
Fixes: #820
Summary by CodeRabbit