fix: patch CVE-2026-42151 in github.com/prometheus/prometheus#2548
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (2)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/test test-e2e |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: coleenquadros, jacobbaungard The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test test-e2e |
1 similar comment
|
/test test-e2e |
Bump github.com/prometheus/prometheus from v0.305.0 to v0.305.3 to fix CVE-2026-42151 (GHSA-wg65-39gg-5wfj): Prometheus Azure AD remote write OAuth client_secret was exposed via config API because the ClientSecret field in storage/remote/azuread OAuthConfig was typed as string instead of config_util.Secret, bypassing redaction. Upstream fix: prometheus/prometheus#18587, #18590 Jira: ACM-36210, ACM-36241, ACM-36249, ACM-36250 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> Signed-off-by: Coleen Iona Quadros <[email protected]>
81fea42 to
6ae9a5c
Compare
|
New changes are detected. LGTM label has been removed. |
|
/test test-e2e |
Summary
github.com/prometheus/prometheusfrom v0.305.0 to v0.305.3 to fix CVE-2026-42151 (GHSA-wg65-39gg-5wfj)ClientSecretfield instorage/remote/azureadOAuthConfigwas typed asstringinstead ofconfig_util.Secret, causing the Azure AD remote write OAuth client secret to be exposed via the Prometheus config API (bypassing redaction)ClientSecretfield changed fromstringtoconfig_util.Secretin v0.305.3Affected go.mod files
Only the root
go.moddepends ongithub.com/prometheus/prometheus. The.bingo/go.moddoes not.Verification
ClientSecret string(vulnerable); v0.305.3 hasClientSecret config_util.Secret(fixed)go build ./...passesJira
Test plan
go build ./...compiles successfullygo test ./...unit tests passgo mod verifychecksums validClientSecretfield type changed fromstringtoconfig_util.Secret🤖 Generated with Claude Code