Skip to content

Fix Go toolchain and dependency CVEs - #1315

Open
nsingla6205 wants to merge 1 commit into
GoogleCloudPlatform:masterfrom
nsingla6205:cve-fixes-go1.27.4-otel1.47
Open

nsingla6205 wants to merge 1 commit into
GoogleCloudPlatform:masterfrom
nsingla6205:cve-fixes-go1.27.4-otel1.47

Conversation

@nsingla6205

Copy link
Copy Markdown

Summary

Bumps the Go toolchain and vulnerable dependencies for the custom-metrics-stackdriver-adapter.

  • Go toolchain 1.27.2 -> 1.27.4 (go.mod, Dockerfile): fixes CVE-2026-97033 through CVE-2026-97043, CVE-2026-97054, and CVE-2026-111943.
  • OpenTelemetry v1.45.0 -> v1.47.0 (indirect): fixes CVE-2026-128085 (AttributeValueLengthLimit bypass with U+FFFD runes).
  • golang.org/x/net v0.60.0 -> v0.62.0: fixes GO-2026-6866, GO-2026-6860.
  • golang.org/x/crypto v0.57.0 -> v0.59.0: fixes GO-2026-5932 (openpgp package, not used by this repo).
  • Transitive updates required by the above (otelgrpc/otelhttp v0.70.0, grpc-gateway v2.30.0, genproto, go-openapi, and others).

Verification

  • go build -mod=readonly ./... and go mod verify pass on Go 1.27.4.
  • CGO_ENABLED=0 go test -mod=readonly ./... passes.
  • govulncheck ./... reports no vulnerabilities.

Made with Cursor

- Bump Go toolchain to 1.27.4 (go.mod and Dockerfile). Fixes Go stdlib /
  toolchain CVEs CVE-2026-97033 through CVE-2026-97043, CVE-2026-97054,
  and CVE-2026-111943.
- Bump OpenTelemetry modules to v1.47.0 to fix CVE-2026-128085
  (AttributeValueLengthLimit bypass with U+FFFD runes).
- Bump golang.org/x/net to v0.62.0 (GO-2026-6866, GO-2026-6860) and
  golang.org/x/crypto to v0.59.0 (GO-2026-5932).
- Transitive updates from the above (otelgrpc/otelhttp v0.70.0,
  grpc-gateway v2.30.0, genproto, go-openapi, and others).

Co-authored-by: Cursor <cursoragent@cursor.com>
@google-cla

google-cla Bot commented Nov 24, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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