build(deps): Bump github.com/prometheus/common from 0.69.0 to 0.70.1 - #1399
build(deps): Bump github.com/prometheus/common from 0.69.0 to 0.70.1#1399dependabot[bot] wants to merge 1 commit into
Conversation
0d8c585 to
a3268ea
Compare
Dependency Security Review —
|
| Module | From | To | Why |
|---|---|---|---|
github.com/prometheus/common |
0.69.0 | 0.70.1 | the named bump |
github.com/prometheus/procfs |
0.19.2 | 0.21.0 | indirect — required by common@0.70.1 |
golang.org/x/net |
0.56.0 | 0.57.0 | required by common@0.70.1 |
golang.org/x/text |
0.38.0 | 0.40.0 | required by common@0.70.1 |
golang.org/x/sys |
0.46.0 | 0.47.0 | required by common@0.70.1 |
golang.org/x/crypto |
0.53.0 | 0.54.0 | MVS via x/net |
golang.org/x/term |
0.44.0 | 0.45.0 | MVS via x/net |
golang.org/x/tools |
0.46.0 | 0.47.0 | MVS via x/net |
golang.org/x/sync |
0.21.0 | 0.22.0 | already on v1.6-dev via #1387 — collapses to a no-op after rebase |
A prometheus/common bump dragging seven golang.org/x/* modules with it deserves scrutiny, so I checked it against the module proxy rather than assuming. common@0.70.1's own go.mod directly requires golang.org/x/net v0.57.0, golang.org/x/sys v0.47.0, golang.org/x/text v0.40.0, and prometheus/procfs v0.21.0 (0.69.0 required x/net v0.55.0, x/sys v0.45.0, x/text v0.37.0, procfs v0.15.1). Every transitive move is legitimate minimum-version selection. Nothing was smuggled in under cover of the headline bump.
Vulnerabilities
GitHub Advisory Database — 0 known vulnerabilities across prometheus/common@0.70.1, procfs@0.21.0, x/net@0.57.0, x/crypto@0.54.0, x/text@0.40.0, client_golang@1.23.2. CI govulncheck is ✅ green.
Reachability — the part that actually matters
tenderdash's entire consumption of prometheus/common is two imports in one dev-tooling file:
scripts/metricsgen/metricsdiff/metricsdiff.go:17: "github.com/prometheus/common/expfmt"
scripts/metricsgen/metricsdiff/metricsdiff.go:18: "github.com/prometheus/common/model"
go mod why confirms expfmt and model are reachable only through scripts/metricsgen/metricsdiff, and that the main module needs no prometheus/common package at all in the node runtime path.
This matters for the one upstream change with any security flavour — "config: clarify sensitive redirect headers match net/http" (prometheus/common#924), covering which headers get stripped on cross-origin redirects. go mod why github.com/prometheus/common/config returns "main module does not need package" — that package is not reachable from tenderdash at all. Zero behavioural exposure.
The genuinely runtime-reachable change here is golang.org/x/net 0.56→0.57 (its http2 transport sits under gRPC), and moving that forward is a net security improvement, not a risk.
Upstream v0.70.0/v0.70.1 are otherwise routine maintenance and dependency-sync releases authored by the usual Prometheus maintainers and bots (roidelapluie, prombot, dependabot) — no maintainer/ownership change, no new install hooks, no build-time codegen.
Re: the superseded #1386 — its failures were not this dependency's fault
Worth recording, since #1386 died red on the same bump. Its blocker was GO-2026-6061 — xDS RBAC + HTTP/2 transport vulnerabilities in google.golang.org/grpc@v1.82.0, inherited verbatim from v1.6-dev, not introduced by the prometheus bump. The fix was #1392 (grpc → 1.82.1), which has since merged to v1.6-dev (2e12505).
That prediction held. On this PR govulncheck is green, and the two checks flagged as suspect — Build (amd64, linux) and tests (04) — both pass. All 16 checks are COMPLETED / SUCCESS, including the full tests (00–05) matrix, both e2e jobs, golangci-lint, check-mocks, and check-proto. Nothing environmental recurred.
Blocker
mergeable: CONFLICTING / mergeStateStatus: DIRTY — a routine dependabot lockfile collision in go.mod + go.sum, caused by #1381, #1387, and #1392 landing on v1.6-dev after this branch was cut. No semantic disagreement, just overlapping edits to the same require blocks.
Holding the merge and requesting a rebase in the next comment. The audit verdict above is independent of the rebase and stands: safe to merge once green on a conflict-free head.
🤖 Co-authored by Claudius the Magnificent AI Agent
|
@dependabot rebase |
|
Looks like this PR is already up-to-date with v1.6-dev! If you'd still like to recreate it from scratch, overwriting any edits, you can request |
Addendum — post-rebase re-verification, and a correction that upgrades the verdictThe rebase landed ( Delta shrank exactly as predicted — 9 modules → 7. The Correction: this bump fixes a CVE. My first comment understated it.My original review reported "0 known vulnerabilities" based on the GitHub Advisory Database. That was a false negative — GitHub's DB has not ingested this advisory yet. Querying OSV directly:
Worth flagging for future dependency reviews on this repo: GitHub's advisory API returned clean for Supply-chain verification (independently re-run at
|
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.69.0 to 0.70.1. - [Release notes](https://github.com/prometheus/common/releases) - [Changelog](https://github.com/prometheus/common/blob/main/CHANGELOG.md) - [Commits](prometheus/common@v0.69.0...v0.70.1) --- updated-dependencies: - dependency-name: github.com/prometheus/common dependency-version: 0.70.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
a3268ea to
c248b8a
Compare
Correction + status — my CVE claim is now stale, and the e2e failure is a Docker Hub outageDependabot rebased a second time while CI was running: Retracting the CVE-fix claim from my previous commentI wrote that this PR fixes Net effect: this PR is now security-neutral rather than security-positive. Still safe — just no longer carrying that benefit. Correcting it rather than leaving a favourable-but-wrong claim in the record. The methodological point from that comment does stand and is worth keeping: GitHub's Advisory API reported The diff keeps shrinking — down to 3 modulesEach rebase absorbs more of the cascade into the base:
|
|
Looks like github.com/prometheus/common is up-to-date now, so this is no longer needed. |
Bumps github.com/prometheus/common from 0.69.0 to 0.70.1.
Release notes
Sourced from github.com/prometheus/common's releases.
Changelog
Sourced from github.com/prometheus/common's changelog.
Commits
b63d8c0build(deps): bump golang.org/x/net (#947)4109c3ebuild(deps): bump the codeql group with 4 updates (#948)5270b62build(deps): bump actions/setup-go from 6.5.0 to 7.0.0 (#949)1167ca3build(deps): bump actions/checkout from 7.0.0 to 7.0.1 (#950)d28d382Update common Prometheus files (#946)f915876Merge pull request #924 from roidelapluie/roidelapluie/redirect-header-commentdfbebd0Merge pull request #945 from roidelapluie/roidelapluie/changelog-0.70.0c8a0019Update CHANGELOG for v0.70.05eff7a8Merge pull request #941 from prometheus/dependabot/github_actions/actions/che...a23c5b3Merge pull request #939 from prometheus/dependabot/github_actions/ossf/scorec...