Commit Graph
5 Commits
Author SHA1 Message Date
Ciprian Hacman 6097eaba54 Bump github.com/prometheus/prometheus to v0.311.3 to fix CVEs
The bump to v0.311.3 from commit 98e831b4 ("Fix Grype CVEs: update
logrus and prometheus/prometheus") was unintentionally reverted to
v0.35.0 by the go.mod conflict resolution in commit f844870a ("Run go
mod tidy and adapt to prometheus/common v0.67 API").

Re-apply it to fix CVE-2026-42154 (High), CVE-2026-40179 and
CVE-2026-44903 (Medium).

prometheus/prometheus v0.311.3 requires k8s.io/client-go v0.35.x,
which would drag the k8s.io modules past the v0.34 line this branch
must stay on. Pin k8s.io/api, k8s.io/apimachinery and k8s.io/client-go
back to v0.34.1 with replace directives in both the root and test
modules, so the built binaries keep using v0.34.1 (the replacement is
also what gets recorded in the binary build info).

The only prometheus/prometheus package linked into the NPD binaries is
model/value, so none of the k8s-facing prometheus code is compiled.
2026-07-11 14:43:40 +03:00
Fan Shang Xiang 8283e091cd bump k8s.io/client-go to 1.28.2 2023-09-14 06:22:49 +00:00
Mike Miranda 5fd18a117f Update dependencies to latest 2023-06-29 18:30:57 +00:00
Karan Goel db35f6a857 bump some dependencies to latest versions 2020-11-09 15:33:13 -08:00
Xuewei Zhang 42285cb8db vendor changes 2019-09-10 16:58:06 -07:00