Skip to content

*: 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
thanos-io:mainfrom
evan-devopsguy:burndown/govulncheck-hygiene
Open

evan-devopsguy wants to merge 1 commit into
thanos-io:mainfrom
evan-devopsguy:burndown/govulncheck-hygiene

Conversation

@evan-devopsguy

Copy link
Copy Markdown
  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

Bumps the Go modules that carry published advisories to their first fixed versions. go.mod / go.sum only.

Module From To Advisories
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

govulncheck shows none of these as called from Thanos code, so this is hygiene rather than a fix for a reachable issue. After it, osv-scanner on go.mod reports only the four prometheus/prometheus advisories 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.sum and the x/* lines; I will rebase whichever lands second.

Verification

  • go build ./... passes
  • every test binary compiles (go test -run NONE ./...)
  • govulncheck ./... no longer lists any of the modules above
  • osv-scanner --lockfile go.mod output as described

Triage context: #9017.

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

codecov Bot commented Sep 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.53%. Comparing base (d7833f6) to head (6e57241).
⚠️ Report is 2 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant