Repository navigation
[release/2.3] Update to go1.26.9, otel v1.46.0, x/net v0.60.0 - #14318
Open
Kanishk-Bansal wants to merge 3 commits into
Open
Kanishk-Bansal wants to merge 3 commits into
Kanishk-Bansal wants to merge 3 commits into
Conversation
Assisted-by: GitHub Copilot Co-authored-by: Copilot <[email protected]> Signed-off-by: Kanishk Bansal <[email protected]>
Aligns release/2.3 with main (containerd#14058) and picks up the fix for CVE-2026-81870 / GHSA-8wmf-6v46-5gfg (exporter config logging may leak endpoint URLs), which affects otel/sdk and the otlptrace exporters <= v1.44.0. release/2.3 carried otel v1.44.0 and otlptrace v1.43.0. Produced with `go get` of the otel/contrib modules followed by `make vendor`. google.golang.org/grpc stays at v1.83.2. Assisted-by: GitHub Copilot Co-authored-by: Copilot <[email protected]> Signed-off-by: Kanishk Bansal <[email protected]>
golang.org/x/net/http2 is used by google.golang.org/grpc's HTTP/2
transport. v0.60.0 carries the x/net side of the HTTP/2 fixes shipped in
go1.26.9:
GO-2026-6617 / CVE-2026-97032 HPACK encoder race server crash
GO-2026-6612 / CVE-2026-78663 double flow control refund
GO-2026-6611 / CVE-2026-78669 CPU exhaustion via repeated initial
window changes
GO-2026-6603 / CVE-2026-78659 memory exhaustion via Trailer headers
GO-2026-6610 malformed framing-related headers
All but GO-2026-6610 are reported as reachable by govulncheck on
release/2.3. google.golang.org/grpc stays at v1.83.2, which already
contains all published grpc-go advisory fixes.
Minimum-version resolution also moves x/crypto 0.55.0 -> 0.57.0,
x/mod 0.38.0 -> 0.41.0, x/sync 0.22.0 -> 0.23.0, x/sys 0.47.0 -> 0.48.0,
x/term 0.45.0 -> 0.46.0 and x/text 0.41.0 -> 0.42.0.
Assisted-by: GitHub Copilot
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Kanishk Bansal <[email protected]>
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
This branch has not been deployed
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.
Follows the pattern of #14088 (go1.26.8) and #14263 (grpc backport). Three commits:
1. Update to go1.26.9
Same set of files as #14088. go1.26.9 includes the net/http HTTP/2 security fixes (CVE-2026-97032, CVE-2026-78663, CVE-2026-78669, CVE-2026-78659).
2. vendor: go.opentelemetry.io/otel v1.46.0, contrib v0.71.0
Matches main (#14058). release/2.3 had otel v1.44.0 and otlptrace v1.43.0, which are affected by CVE-2026-81870 / GHSA-8wmf-6v46-5gfg (exporter config logging can leak endpoint URLs). Versions ≥ 1.45.0 fix it.
3. vendor: golang.org/x/net v0.60.0
grpc's HTTP/2 transport is built on
golang.org/x/net/http2. v0.60.0 contains the x/net side of the go1.26.9 HTTP/2 fixes (GO-2026-6617, -6612, -6611, -6603, -6610). govulncheck reports the first four as reachable on release/2.3. Minimum-version resolution also moves x/crypto to 0.57.0, x/mod to 0.41.0, x/sync to 0.23.0, x/sys to 0.48.0, x/term to 0.46.0 and x/text to 0.42.0.google.golang.org/grpcstays at v1.83.2. That version already has the fixes for every published grpc-go advisory (GHSA-2v4p-qf9q-27wj, GHSA-vp52-pcj8-j9qc, GHSA-qc2q-p7wx-3px3, GHSA-hrxh-6v49-42gf), and v1.84.0 adds no further security fixes. For an LTS patch I stopped at the advisory minimum. I can move it to v1.84.0 to match main if you'd prefer.The dependency changes came from running
go getand thenmake vendorwith go1.26.9. They are not a textual cherry-pick.Testing (go1.26.9, linux/amd64)
make vendor: passed (all modules verified). A secondgo mod tidy && go mod vendorrun produced no diff, andapi/tidy is clean.GOOS={linux,windows,darwin,freebsd} go build ./... && go vet ./...: passed.GOARCH=arm64 go build ./...: passed.go test $(go list ./... | grep -v /integration): passed (100 packages ok).govulncheck ./...: before, 5 reachable vulnerabilities from 2 modules. After, 1 remains: GO-2026-5932 (x/crypto/openpgpvia ocicrypt). That one has no fix yet and needs Replace golang.org/x/crypto/openpgp with github.com/ProtonMail/go-crypto/openpgp containers/ocicrypt#142, as noted in [release/2.3] vendor: google.golang.org/grpc v1.83.2 #14263.integration/and CRI tests, which need a live containerd and root. CI covers them.AI assistance was used for this change, per CONTRIBUTING's Coding Agent Usage section. Each commit has an
Assisted-bytrailer.