Skip to content

build(deps): Bump github.com/prometheus/client_model from 0.6.2 to 0.6.3 - #1448

Merged
lklimek merged 1 commit into
v1.8-devfrom
dependabot/go_modules/github.com/prometheus/client_model-0.6.3
Sep 9, 2026
Merged

lklimek merged 1 commit into
v1.8-devfrom
dependabot/go_modules/github.com/prometheus/client_model-0.6.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/prometheus/client_model from 0.6.2 to 0.6.3.

Release notes

Sourced from github.com/prometheus/client_model's releases.

v0.6.3

What's Changed

New Contributors

Full Changelog: prometheus/client_model@v0.6.2...v0.6.3

What's Changed

... (truncated)

Commits

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Sep 8, 2026
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Sep 8, 2026
@Claudius-Maginificent

Copy link
Copy Markdown
Collaborator

🔒 Security Audit — PR #1448

Verdict: SAFE to merge. No security concerns identified.

Scope of the actual change

The title names one bump; the diff carries two:

Module From To Type
github.com/prometheus/client_model 0.6.2 0.6.3 direct
google.golang.org/protobuf 1.36.11 1.36.12 transitive — forced by MVS, client_model 0.6.3 requires 1.36.12

The 331-line go.mod churn is go mod tidy require-block reordering, not dependency drift: 362 module@version entries before and after, with exactly the two lines above differing. go.sum changes are the four corresponding hash lines and nothing else.

1. client_model 0.6.2 → 0.6.3 — zero code change

The module contains exactly one Go file, go/metrics.pb.go. Between the two published module zips it is byte-for-byte identical:

sha256  cae1f51e2a01107f3239d7cc05ec1362adcacd7cad103c2e7612bb82c992d99a  ./go/metrics.pb.go   (both v0.6.2 and v0.6.3)

The entire release delta (10 files) is CI config, docs, and one comment:

  • .github/* — dependabot config, new govulncheck.yml / approve-workflows.yml (upstream CI only; never executes for module consumers)
  • MAINTAINERS.md, README.md, SECURITY.md
  • go.mod / go.sum — protobuf 1.36.6 → 1.36.12, go directive 1.22.0 → 1.23 (this repo is on 1.27.1)
  • io/prometheus/client/metrics.proto — one comment reworded, native histograms no longer flagged experimental. No field, schema, or wire change; metrics.pb.go correctly not regenerated.

Supply-chain verification performed:

  • All four new go.sum hashes checked against the public Go checksum transparency log (sum.golang.org) — exact match, verified independently of this repo's go.sum.
  • Published module zip reconciled against upstream git tag v0.6.3 (a834711…, a real commit on the linear history): identical file set, no undocumented files, nothing extra hidden in the zip.
  • No install/build/lifecycle hooks, no new outbound network calls, no obfuscated or encoded blobs, no generated-code changes.

2. protobuf 1.36.11 → 1.36.12 — net security improvement

This is the only code-bearing part of the PR, and it adds hardening. All three are unregistered security fixes — no CVE or GHSA assigned:

  • encoding/prototext — implements a recursion limit (CWE-674, stack exhaustion via deeply nested text input)
  • encoding/protodelim — errors out when size exceeds math.MaxInt (CWE-190 / CWE-770, integer overflow → unbounded allocation)
  • encoding/protojson — rejects non-numeric ints/floats (input-validation tightening)

Supply-chain verification performed: the published v1.36.12 module zip is byte-identical to upstream git tag commit cdd4c5f7 ("all: release v1.36.12") — zero differing files across the entire module. The release notes reconcile exactly against the 14 commits in v1.36.11..v1.36.12, and the prototext recursion limit (errRecursionDepth, RecursionLimit defaulting to protowire.DefaultRecursionLimit) was confirmed present in the shipped code, not merely claimed in a changelog.

The remainder is regenerated well-known types (protobuf v33.3 / v35.1), protogen feature resolution, and a Go 1.26 dead-code-elimination fix. No wire-format or encoding-determinism change — which is the material question for a consensus-critical node.

3. Known-vulnerability research

Source Result
OSV.dev — client_model (all versions, and @0.6.3) no advisories
OSV.dev — protobuf @1.36.11 and @1.36.12 no advisories
GitHub Advisory DB — client_model none
GitHub Advisory DB — protobuf 2 historical, neither applicable
sum.golang.org transparency log all hashes verified
  • GHSA-8r3f-844c-mc37 / CVE-2024-24786 — protojson.Unmarshal infinite loop. Fixed in 1.33.0. Not applicable.
  • GHSA-hw7c-3rfg-p46j / CVE-2023-24535 — panic leading to DoS. Affects 1.29.0 only, fixed 1.29.1. Not applicable.

4. Blast radius in this repository

client_model has a single direct import site — scripts/metricsgen/metricsdiff/metricsdiff.go (package main), an offline developer tool that diffs local metrics files. It is additionally linked into the node binary via client_golang, but as the Go code is unchanged, runtime impact is nil.

For protobuf, the picture is worth stating precisely rather than reassuringly:

  • No direct use. 0 non-test import sites in this tree for prototext, protodelim, protojson, protogen, or protodesc. Consensus serialisation goes through cosmos/gogoproto, not these packages.
  • But all three hardened parsers are linked into the node binary transitively — go list -deps ./cmd/tenderdash resolves encoding/prototext, encoding/protodelim, and encoding/protojson (pulled in via gRPC and the Prometheus stack).

Being linked is not the same as being reachable with attacker-controlled input, and I make no claim that it is. The relevant conclusion is directional: the recursion limit and the math.MaxInt size guard land in code that genuinely ships in the node, so this bump strictly improves the binary's parser-hardening posture rather than being inert.

5. CI corroboration

16/16 checks green, and the set is substantive rather than cosmetic — the ones that matter for this bump:

  • check-proto — confirms generated protobuf code is still consistent, i.e. the protobuf 1.36.12 toolchain change produces no generated-code drift
  • e2e-test (dashcore) and e2e-test (rotate) — exercise the consensus path, including validator rotation
  • govulncheck — upstream vulnerability scan, clean
  • Build (amd64, linux), tests (00–05), golangci-lint, check-mocks, test_abci_cli, test_apps

Green CI is treated here as corroboration, not as the basis of the verdict.

6. Observations — informational, not blocking

  • Upstream maintainer handoff. MAINTAINERS.md changed in this release (@beorn7 → @bwplotka, a long-standing Prometheus maintainer). Zero Go code shipped alongside it, so it carries no risk here; noted only as a watch item for future client_model bumps.

  • Upstream approve-workflows.yml uses an issue_comment trigger with actions: write / pull-requests: write. It is gated on github.repository_owner == 'prometheus' and never executes for consumers of the module — no exposure for this repository.

  • Repository-wide Dependabot alert enumeration was unavailable to me (API scope), so this audit rests on direct OSV, GitHub Advisory, and checksum-log queries rather than the repo's alert feed.

  • Release provenance. v0.6.3 was published by SuperQ, a long-standing Prometheus maintainer, with the GitHub tag ref bound to commit a834711d — matching the commit reviewed above, with no sign of a moved or re-pointed tag. protobuf v1.36.12 was published by zhangskz, the same maintainer who authored the release commit.

7. Independent verification

The audit was corroborated by two parallel reviewers rather than resting on my reading alone.

Project consistency — go mod tidy -diff produced zero diff; go mod verify reported all modules verified. Independently reproduced the 362-entry before/after count, confirmed the single root go.mod (no competing pins in tools/tools.go, any Dockerfile, or any workflow), and confirmed the repo has no changelog-fragment convention for dependency bumps. No issues.

Adversarial build/test — go mod download, go mod verify, and a full go build ./... under CGO with BLS bindings all clean; the production binary builds and runs. Consensus-relevant proto round-trips pass: TestMsgToProto, TestWALMsgProto, TestVoteProtobuf, TestMarshalVoteExtension, TestVoteSignBytes, TestVoteExtensionsSignBytesRaw. go vet ./... reports 4 findings, all pre-existing and untouched by this PR — dash/quorum/nodeid_resolver.go:40 traces via git blame to 2022, plus three format-verb issues in test/e2e/pkg/testnet.go.

Stated limitation, recorded rather than papered over: no differential fuzz harness exists in-tree to compare consensus message hashing between protobuf 1.36.11 and 1.36.12 under malformed input. The existing determinism suite is green, which is not the same thing. Given that 1.36.12 changes no wire-format code — the deltas are in the text/JSON/delimited decoders and regenerated well-known types — I do not consider this a blocker, but I am not claiming coverage I do not have.

Findings

0 vulnerabilities. 0 applicable CVEs. 0 blocking issues.

Approving. The direct half of this bump ships not one byte of changed executable code, and the transitive half tightens two parser limits in code that genuinely reaches the node binary. That is about as low-risk as a dependency update gets — but it was verified, not assumed: checksums against the transparency log, both published zips reconciled against their git tags, release publishers identified, and every advisory hit run down to its affected range.

🤖 Co-authored by Claudius the Magnificent AI Agent

@lklimek

lklimek commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/prometheus/client_model-0.6.3 branch from f944dc2 to f9c9e9c Compare September 9, 2026 10:28
Bumps [github.com/prometheus/client_model](https://github.com/prometheus/client_model) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/prometheus/client_model/releases)
- [Commits](prometheus/client_model@v0.6.2...v0.6.3)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_model
  dependency-version: 0.6.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/prometheus/client_model-0.6.3 branch from f9c9e9c to 5fb9ef7 Compare September 9, 2026 10:59
@lklimek
lklimek merged commit 87521b0 into v1.8-dev Sep 9, 2026
17 checks passed
@lklimek
lklimek deleted the dependabot/go_modules/github.com/prometheus/client_model-0.6.3 branch September 9, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants