Skip to content

fix(deps): bump bundled CLIs and Go deps to resolve CVEs - #99

Merged
iplay88keys merged 1 commit into
mainfrom
iplay88keys/fix-cves-0.3.0
Nov 4, 2026
Merged

iplay88keys merged 1 commit into
mainfrom
iplay88keys/fix-cves-0.3.0

Conversation

@iplay88keys

Copy link
Copy Markdown
Contributor

Summary

Fixes CVEs reported against the tools:0.3.0 image by updating the bundled CLIs and the tool-server Go dependencies.

Bundled CLIs (Makefile)

CLI Before After
istioctl 1.31.1 1.31.3
kubectl-argo-rollouts 1.10.0 1.10.1
kubectl 1.37.0 1.37.2
helm 4.3.0 4.3.1
cilium 0.20.0 0.20.2

tool-server (go.mod)

  • github.com/go-jose/go-jose/v4 4.1.4 → 4.1.6 (CVE-2026-116587)
  • github.com/klauspost/compress 1.19.1 → 1.20.2 (CVE-2026-116591)
  • golang.org/x/net 0.58.0 → 0.62.0 (CVE-2026-78659, -78660, -78661, -78663, -78669, -97032)
  • go.opentelemetry.io/otel/sdk/log 0.19.0 → 1.47.0 (CVE-2026-81872). otel/log is now stable, which breaks its v0.x bridges, so the otel family moves to v1.47.0 along with otelslog, uptrace/opentelemetry-go-extra, and kubescape/go-logger.
  • google.golang.org/grpc 1.83.2 → 1.84.0 (pulled in by the otel upgrade)

Remaining findings (no upstream fix released)

Every bundled CLI is at its latest stable release. These findings are inside the upstream release binaries and clear when upstream ships a release with the fix:

Binary Finding Needs
kubectl 1.37.2 golang.org/x/text 0.40.0, golang.org/x/net 0.57.0 Kubernetes release with newer x/*
helm 4.3.1 built with go1.27.2 (CVE-2026-111943) Helm release built with go ≥ 1.27.3
istioctl 1.31.3 go-jose 4.1.5, klauspost/compress 1.20.1 Istio patch release
kubectl-argo-rollouts 1.10.1 grpc 1.80.0, otel 1.39.0, x/crypto 0.53.0, x/net 0.56.0, x/text 0.38.0, compress 1.18.0; built with go1.26.9 (CVE-2026-111943) argo-rollouts release; master already has the dependency bumps

Suppressed

Binary Finding Reason
tool-server CVE-2026-41567, CVE-2026-42306 (github.com/docker/docker v28.5.2+incompatible) Not affected. Both are Docker Engine daemon flaws (image/archive upload, docker cp). tool-server links only api/types/{versions,filters,registry} from this module, through kubescape/k8s-interface → armosec/armoapi-go. No fix will ship on this module path: v28.5.2 is its last release, and Moby now publishes as github.com/moby/moby/....
istioctl 1.31.3 CVE-2019-14993, CVE-2021-39155, CVE-2021-39156, CVE-2022-23635 (istio.io/istio) Not affected; upstream WONTFIX (istio/istio#50657). Istio tags releases without a v prefix, so the module is reported as a v0.0.0-<date> pseudo-version that scanners compare against the fix versions (1.1.13 through 1.13.1). The bundled istioctl is 1.31.3, which includes those fixes.

Testing

  • go build ./..., go vet ./...
  • go test -tags=test ./pkg/... ./internal/... ./cmd/...
  • make lint
  • Checked the go version -m output of each new release binary (linux/amd64) and of a linux/amd64 tool-server build against the fixed versions
  • Scanned a local linux/amd64 make docker-build image with Trivy 0.76.1 and Grype 0.121.1 (HIGH/CRITICAL). Findings dropped from 148 on tools:0.3.0 to 38, and every remaining finding is listed above as remaining or suppressed.

Update istioctl, kubectl, helm, cilium and argo-rollouts to their
latest patch releases, and bump go-jose, klauspost/compress, x/net and
the OpenTelemetry log SDK in tool-server.

Signed-off-by: Jeremy Alvis <jeremy.alvis@solo.io>
@iplay88keys
iplay88keys merged commit eeceef3 into main Nov 4, 2026
6 checks passed
@iplay88keys
iplay88keys deleted the iplay88keys/fix-cves-0.3.0 branch November 4, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants