Repository navigation
Bump yq, stern and grpcurl to releases built with patched toolchains - #8
Open
ngpayyappilly wants to merge 1 commit into
Open
ngpayyappilly wants to merge 1 commit into
ngpayyappilly wants to merge 1 commit into
Conversation
The Trivy scan (PR #7) found fixable CRITICAL vulnerabilities in the pinned Go binaries: yq 4.47.1 stdlib go1.24.5 CVE-2025-68121 stern 1.33.0 stdlib go1.25.0 CVE-2025-68121 grpcurl 1.9.3 grpc-go 1.61.0 CVE-2026-33186 (authz bypass) stdlib go1.21.1 CVE-2024-24790, CVE-2025-68121 yq 4.54.3 (go1.27.3) and stern 1.35.0 (go1.27.2) clear them. grpcurl 1.9.4 updates grpc-go to 1.83.2 but upstream still builds it with go1.25.0, so CVE-2025-68121 remains for grpcurl only. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014iDTyB5N8EdZyyZo4ymUVR
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The Trivy gate in #7 failed on its first run, and the findings are real and already present on
main. Fixable CRITICAL vulnerabilities in the pinned Go binaries:kubectl and the apt packages were clean.
Change
yq and stern fully clear their findings. grpcurl 1.9.4 fixes the grpc-go authorization bypass, but upstream still builds it with go1.25.0, which is older than the 1.25.7 fix, so CVE-2025-68121 remains for grpcurl only. I read the toolchain versions from each release binary's build info (
go version -m, amd64 and arm64 for grpcurl), without executing them.Testing
RUNblocks against the real new release assets on amd64 and arm64: all verifyOKand install.stern --versionprintsversion: 1.35.0andgrpcurl -versionprintsgrpcurl v1.9.4, so the smoke test's version assertions (once Rewrite smoke test: single container, execution and version checks #6 is merged) can match. The current CI smoke test only checks the binaries run.Open decision: grpcurl's remaining CVE
Once #7 (Trivy gate) is rebased on this, the gate will still fail on grpcurl's stdlib CVE-2025-68121. Options:
.trivyignoreentry with justification and expiry (grpcurl is a client used interactively, and the issue is TLS session resumption), then bump when upstream rebuilds. Quick, but it is an accepted risk.--platform=$BUILDPLATFORMso the multi-arch publish does not run a Go build under QEMU. Removes the finding properly at the cost of more Dockerfile and a Go image dependency.I would lean towards option 2 for a tool people may point at production endpoints, but it deserves its own PR.
Part of an SRE review series (supply chain).
Generated by Claude Code