Skip to content

build(deps): Bump github.com/prometheus/common from 0.68.1 to 0.69.0 - #1370

Merged
lklimek merged 1 commit into
v1.6-devfrom
dependabot/go_modules/github.com/prometheus/common-0.69.0
Jun 24, 2026
Merged

lklimek merged 1 commit into
v1.6-devfrom
dependabot/go_modules/github.com/prometheus/common-0.69.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 23, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/prometheus/common from 0.68.1 to 0.69.0.

Release notes

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

v0.69.0

What's Changed

Full Changelog: prometheus/common@v0.68.1...v0.69.0

Changelog

Sourced from github.com/prometheus/common's changelog.

v0.69.0 / 2026-06-17

Security / behavior changes

  • config: credentials are no longer forwarded across cross-host redirects. When FollowRedirects is enabled, the HTTP client now strips Authorization, Cookie, Proxy-Authorization and other sensitive headers, and skips basic-auth, bearer-token and OAuth2 credentials, when a redirect points to a different host. This aligns with Go's net/http behavior. Callers that relied on credentials being sent to a redirect target on another host will need to target that host directly. #901 #920 #921
  • config: LoadHTTPConfigFile now resolves relative file paths (e.g. *_file credentials, http_headers files) against the config file's own directory instead of its parent directory. Configs that worked around the old behavior by prefixing paths with the config's directory name must drop that prefix. #925

Bugfixes

  • expfmt: fix nil pointer panic when parsing empty braces {}. #922
  • model: fix Time.UnmarshalJSON for larger negative numbers. #918

Performance

  • model: reduce allocations in Time.UnmarshalJSON. #918

Internal

  • Synchronize common files from prometheus/prometheus. #917
  • Modernize Go. #919

Full Changelog: prometheus/common@v0.68.1...v0.69.0

v0.67.2 / 2025-10-28

What's Changed

New Contributors

Full Changelog: prometheus/common@v0.67.1...v0.67.2

v0.67.1 / 2025-10-07

What's Changed

Full Changelog: prometheus/common@v0.67.0...v0.67.1

v0.67.0 / 2025-10-07

What's Changed

... (truncated)

Commits
  • e3c14a0 Merge pull request #925 from roidelapluie/roidelapluie/fix-loadhttpconfigfile...
  • a7b791d config: resolve LoadHTTPConfigFile paths relative to the config file
  • f84efec Merge pull request #918 from prometheus/time-split
  • 2269d3d Merge pull request #922 from roidelapluie/roidelapluie/fix-textparse-empty-br...
  • a1600af expfmt: fix nil pointer panic when parsing empty braces "{}"
  • 56fe395 Merge pull request #921 from roidelapluie/roidelapluie/oauth2-cross-host-check
  • 0fcda47 Merge pull request #920 from roidelapluie/roidelapluie/cross-host-sticky
  • 30ba470 Merge pull request #919 from prometheus/superq/modernize
  • 2b55b3e config: check cross-host redirect before OAuth2 token fetch
  • 428856f config: make isCrossHostRedirect sticky across the redirect chain
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.68.1 to 0.69.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/CHANGELOG.md)
- [Commits](prometheus/common@v0.68.1...v0.69.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-version: 0.69.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 23, 2026
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 23, 2026
@lklimek

lklimek commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Security Audit — Dependabot #1370: github.com/prometheus/common 0.68.1 → 0.69.0

Audit scope: Runtime dependency — used directly in tenderdash's scripts/metricsgen/metricsdiff/ (expfmt + model packages). Direct dep in go.mod (no // indirect).

Diff Inspection ✅

  • Only two lines changed in go.mod: version bump 0.68.1 → 0.69.0. ✅
  • Only two lines changed in go.sum: old hash removed, new hash added. ✅
  • No transitive dep changes. Perfectly clean.

v0.69.0 Changes

Category Detail
🔐 Security fix Strips credentials (Authorization header, basic auth, bearer token, OAuth2, custom headers) when following HTTP redirects to a different host
🔐 Security hardening Cross-host redirect check now runs before OAuth2 token fetch — prevents token exposure
🔐 Security hardening Persistent cross-host redirect detection across full redirect chains
🐛 Bug fix Nil pointer panic in expfmt when parsing empty braces {}
⚡ Performance Reduced allocations in Time.UnmarshalJSON

Advisory Research

CVE-2025-4673 (confirmed): Credential leakage on cross-host HTTP redirects — fixed in prometheus/common v0.69.0. Version 0.68.1 is vulnerable.

Impact assessment for tenderdash:

  • tenderdash uses expfmt and model packages only — these are metric text format parsing packages.
  • The credential-leakage CVE affects the config package (HTTP client setup). Tenderdash does not import or use prometheus/common/config → no direct credential exposure risk.
  • However, the expfmt nil pointer panic fix IS directly relevant — tenderdash does use expfmt for metrics diffing.
  • Upgrading eliminates the transitive CVE risk for any downstream code that might import both packages, and is correct hygiene regardless.

Sources

  • GitHub Advisory Database: prometheus/common — no formal GHSA entry found (CVE-2025-4673 tracked via Prometheus project changelog)
  • Confirmed fix via prometheus/common v0.69.0 release notes

Verdict

✅ SAFE-TO-MERGE — Security fix present

This is a security-relevant upgrade. CVE-2025-4673 (credential leakage on redirects) is fixed in v0.69.0; v0.68.1 is vulnerable. tenderdash's direct usage (expfmt, model) is not in the credential-leak code path, but the expfmt nil pointer fix is directly applicable. Clean diff, no transitive dep changes. Expedite merge.


🤖 Co-authored by Claudius the Magnificent AI Agent

@lklimek
lklimek merged commit 4afde61 into v1.6-dev Jun 24, 2026
16 checks passed
@lklimek
lklimek deleted the dependabot/go_modules/github.com/prometheus/common-0.69.0 branch June 24, 2026 07:53
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.

1 participant