Repository navigation
Conversation
govulncheck reports seven vulnerabilities from three dependencies in code that this module calls. Upgrade each module to the lowest release that fixes its advisories. golang.org/x/net v0.58.0 to v0.60.0 fixes five HTTP/2 advisories: GO-2026-6603, GO-2026-6610, GO-2026-6611, GO-2026-6612, and GO-2026-6617. github.com/klauspost/compress v1.18.7 to v1.20.2 fixes GO-2026-6865, a panic on two-block frames. github.com/andybalholm/brotli v1.2.0 to v1.2.7 fixes GO-2026-6888, excessive memory allocation when decompressing crafted streams. The upgrade also raises these indirect requirements: golang.org/x/crypto to v0.57.0, golang.org/x/mod to v0.41.0, golang.org/x/sync to v0.23.0, golang.org/x/sys to v0.48.0, golang.org/x/text to v0.42.0, and golang.org/x/tools to v0.49.0. The go directive stays at 1.26.0. Fixes: #625 Signed-off-by: Dwi Siswanto <git@dw1.io>
golang.org/x/net v0.60.0 deprecates http2.ConfigureTransport in favor of http.Transport.Protocols, so staticcheck fails the lint with SA1019. The replacement is not equivalent. Built with Go 1.26, the go.mod minimum, ConfigureTransport sends the HTTP/2 fallback client's requests through the x/net HTTP/2 implementation, while Protocols selects the copy bundled with net/http. Keep the call and suppress the warning on that line. Signed-off-by: Dwi Siswanto <git@dw1.io>
Mzack9999
approved these changes
Nov 9, 2026
Mzack9999
deleted the
dwisiswant0/fix/deps/bump-x-net-klauspost-compress-and-brotli
branch
November 9, 2026 10:27
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.
govulncheck reports seven vulnerabilities from three dependencies in
code that this module calls. Upgrade each module to the lowest release
that fixes its advisories.
golang.org/x/net v0.58.0 to v0.60.0 fixes five HTTP/2 advisories:
GO-2026-6603, GO-2026-6610, GO-2026-6611, GO-2026-6612, and
GO-2026-6617.
github.com/klauspost/compress v1.18.7 to v1.20.2 fixes GO-2026-6865, a
panic on two-block frames.
github.com/andybalholm/brotli v1.2.0 to v1.2.7 fixes GO-2026-6888,
excessive memory allocation when decompressing crafted streams.
The upgrade also raises these indirect requirements: golang.org/x/crypto
to v0.57.0, golang.org/x/mod to v0.41.0, golang.org/x/sync to v0.23.0,
golang.org/x/sys to v0.48.0, golang.org/x/text to v0.42.0, and
golang.org/x/tools to v0.49.0. The go directive stays at 1.26.0.
golang.org/x/net v0.60.0 also deprecates http2.ConfigureTransport in
favor of http.Transport.Protocols, which fails the staticcheck lint with
SA1019. The HTTP/2 fallback client keeps the call and suppresses the
warning on that line, because the replacement is not equivalent: built
with Go 1.26, the go.mod minimum, ConfigureTransport sends requests
through the x/net HTTP/2 implementation, while Protocols selects the
copy bundled with net/http.
Fixes: #625