chore(cve): remove hubble cli binary bundled in image - #2641
Merged
Conversation
Signed-off-by: Alex Castilio dos Santos <alexsantos@microsoft.com>
Alex Castilio (alexcastilio)
requested review from
Beegii Khurelsukh (BeegiiK) and
carlotaarvela
August 12, 2026 13:57
Retina Code Coverage ReportTotal coverage no changeIncreased diff
|
ibezrukavyi
approved these changes
Aug 12, 2026
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.
Description
Remove the bundled Hubble CLI from the Linux Retina agent image. Retina's
hubble-control-planecommand uses linked Cilium packages and does not execute the CLI, so the production Hubble API, Relay integration, metrics, and Unix socket behavior are unchanged.This change also removes the CLI-only download tools, Hubble build argument,
HUBBLE_SERVERdefault, Make target, and scheduled Hubble update workflow. The agent image is approximately 71 MiB smaller.Vulnerability report
Both images were built from commit
8f7374d6forlinux/amd64and scanned with Trivy 0.69.3 using:All 14 findings removed by this PR belonged to
usr/bin/hubble:github.com/google/cel-gogo.mongodb.org/mongo-drivergolang.org/x/netgolang.org/x/netgolang.org/x/netgolang.org/x/netgolang.org/x/netgolang.org/x/netgolang.org/x/netgolang.org/x/sysgolang.org/x/textgoogle.golang.org/grpcThe remaining unique advisory is the pre-existing Medium
CVE-2026-53935ingithub.qkg1.top/cilium/ciliumv1.19.3. Trivy reports it once forretina/controllerand once forretina/captureworkload; it is unrelated to the removed Hubble CLI.Checklist
git commit -S -s ...).Testing completed
/retina/controller hubble-control-plane./bin/hubbleis absent and/retina/controllerstill exposes thehubble-control-planecommand.Additional notes
This removes an undocumented in-pod troubleshooting executable. Operators who manually invoked
/bin/hubblewithkubectl execshould use a separately installed Hubble CLI through the documented Relay port-forward workflow.Checklist
git commit -S -s ...). See this documentation on signing commits.Screenshots (if applicable) or Testing Completed
Please add any relevant screenshots or GIFs to showcase the changes made.
Additional Notes
Add any additional notes or context about the pull request here.
Please refer to the CONTRIBUTING.md file for more information on how to contribute to this project.