*: bump Go modules with published advisories to their fixed versions (grpc, x/crypto, x/mod, mongo-driver, klauspost/compress) - #9019
Open
evan-devopsguy wants to merge 1 commit into
Conversation
Clears the module-level findings osv-scanner and govulncheck report on go.mod, other than the prometheus/prometheus ones (Prometheus-server HTTP surfaces Thanos does not serve, see the triage issue) and the otel bridge handled separately: - google.golang.org/grpc v1.82.1 -> v1.83.2 GHSA-2v4p-qf9q-27wj, GHSA-qc2q-p7wx-3px3, GHSA-vp52-pcj8-j9qc - golang.org/x/crypto v0.53.0 -> v0.56.0 GO-2026-6303, GO-2026-6354, GO-2026-6355 - golang.org/x/mod v0.37.0 -> v0.40.0 GO-2026-6179, GO-2026-6180 - go.mongodb.org/mongo-driver v1.17.6 -> v1.17.7 GO-2026-5327 - github.com/klauspost/compress v1.18.2 -> v1.18.7 GO-2026-5841 None of these are called from Thanos code according to govulncheck; this is hygiene so the scanners stop reporting them. go.mod / go.sum only. Signed-off-by: Evan <Evan.CloudDevOps@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9019 +/- ##
=======================================
Coverage 64.52% 64.53%
=======================================
Files 289 289
Lines 37366 37366
=======================================
+ Hits 24111 24114 +3
+ Misses 11157 11156 -1
+ Partials 2098 2096 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
5 tasks
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.
Changes
Bumps the Go modules that carry published advisories to their first fixed versions.
go.mod/go.sumonly.google.golang.org/grpcgolang.org/x/cryptogolang.org/x/modgo.mongodb.org/mongo-drivergithub.com/klauspost/compressgovulncheck shows none of these as called from Thanos code, so this is hygiene rather than a fix for a reachable issue. After it,
osv-scannerongo.modreports only the fourprometheus/prometheusadvisories discussed in #9017 (Prometheus-server HTTP surfaces Thanos does not serve), the otel bridge handled in #9015, and GO-2026-5932 (x/crypto/openpgp"unmaintained", which has no fixed version).Transitive bumps that come along:
golang.org/x/net,x/sync,x/text,x/sys,x/tools,google.golang.org/api,genproto,cloud.google.com/go/trace,otel/sdk.Overlaps with #9015 on
go.sumand thex/*lines; I will rebase whichever lands second.Verification
go build ./...passesgo test -run NONE ./...)govulncheck ./...no longer lists any of the modules aboveosv-scanner --lockfile go.modoutput as describedTriage context: #9017.