fix: remediate Hub ECR image vulnerabilities - #112
Merged
Conversation
BhagyaAmarasinghe
marked this pull request as ready for review
July 28, 2026 07:29
xernobyl
approved these changes
Jul 28, 2026
xernobyl
left a comment
Contributor
There was a problem hiding this comment.
Thank you for the PR, LGTM.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
WalkthroughUpdated direct and indirect OpenTelemetry, gRPC, Google genproto, and golang.org/x module versions in 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Aug 5, 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.
Summary
golang.org/x/net, andgolang.org/x/textgo.sumgooseandriverbinaries do not reintroduce vulnerable packagesRoot cause
The
0.8.2ECR image embeds affected Go module versions in both the Hub binaries and the separately built migration tools. Updating onlygo.modwould leave Inspector findings in thegoose/riverlayer.This addresses the four unique active Inspector advisories reported for both amd64 and arm64 child manifests:
GHSA-hrxh-6v49-42gf(google.golang.org/grpc)CVE-2026-46600(golang.org/x/net)CVE-2026-56852(golang.org/x/text)CVE-2026-41178(go.opentelemetry.io/otel)Validation
go mod verify— passedmake fmt— passedmake lint— passed with zero issuesmake test-unit— passedmake build— passed forhub-apiandhub-workergovulncheck ./...— zero affected vulnerabilitiesgooseandriverforlinux/amd64andlinux/arm64A full Docker image build could not run locally because the configured OrbStack Docker socket was unavailable. Integration tests were not run because they require a pgvector test database. The PR remains draft pending CI/container-build evidence.