build: bump vulnerable Go dependencies on release-8.5#1132
Conversation
|
Welcome @vtatai! It looks like this is your first PR to pingcap/monitoring 🎉 |
|
Victor Tatai seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
|
@dveeden: adding LGTM is restricted to approvers and reviewers in OWNERS files. DetailsIn response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Could you make sure the CLA is signed? |
|
govulncheck isn't happy about some things. Could you check the ones related to the rules? |
|
@tennix: adding LGTM is restricted to approvers and reviewers in OWNERS files. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dveeden, tennix The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Summary
This PR updates the
release-8.5branch to consume newer Prometheus / OpenTelemetry / Go networking dependencies needed to address vulnerability findings in downstream TiDB monitor reloader images.The main driver is
CVE-2026-39883, reported againstgo.opentelemetry.io/otel/sdkvia the Prometheus dependency chain. The fixed version required by our scanner is newer than the version currently pulled bygithub.com/prometheus/prometheus v0.55.1, so this bumps Prometheus and related modules.Changes
github.com/prometheus/prometheustov0.312.0v1.44.0golang.org/x/cryptogolang.org/x/netrulefmt.Parsecall sites for the newer Prometheus API:pkg/operator/rules.goreload/server/bizlogic/server.goWhy this is needed
Downstream TiDB monitor reloader images built from this branch are being flagged for
CVE-2026-39883through the Prometheus/OpenTelemetry dependency chain.Updating only direct OpenTelemetry modules is not enough because the affected dependency path is pulled through Prometheus. Bumping Prometheus brings in the newer compatible OpenTelemetry stack and requires small source compatibility updates for the changed
rulefmtAPI.Validation
go test ./reload/... ./pkg/operator/...git diff --check