-
Notifications
You must be signed in to change notification settings - Fork 419
envoy-gateway/1.6.2-r0: cve remediation #77885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
envoy-gateway/1.6.2-r0: cve remediation #77885
Conversation
🛑 Build Failed: Compilation
Build Details
Root Cause Analysis 🔍The containers/storage package is referencing undefined functions from the securejoin package, indicating a version incompatibility or missing dependency between these packages. This is likely caused by a version mismatch where the storage package expects newer securejoin functions that are not available in the current version. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Similar PRs with fixesSuggested ChangesFile: envoy-gateway.yaml
Replacement: Content: Click to expand fix analysisAnalysisBased on the three similar fixes, there are clear patterns: 1) All cases involved the same undefined functions (securejoin.OpenInRoot and securejoin.Reopen) in containers/storage package, 2) Two fixes (examples #0 and #1) resolved the issue by upgrading from version 1.5.4 to 1.6.0 and removing go/bump steps that were causing dependency conflicts, 3) One fix (example #2) resolved it by adding a specific replace directive for github.com/cyphar/[email protected] in the go/bump step. The current failure is on version 1.6.2, so the version upgrade approach won't work, making the replace directive approach most applicable. Click to expand fix explanationExplanationThe fix works by explicitly pinning the github.com/cyphar/filepath-securejoin dependency to version 0.5.1 using a replace directive in the go/bump step. This addresses the root cause which is a version mismatch where the containers/storage package expects newer securejoin functions (OpenInRoot and Reopen) that are not available in the default version being pulled in. The replace directive forces Go to use the specific v0.5.1 version which contains these required functions. This approach was successfully used in fix example #2 for the same exact error, and since the current package is already on version 1.6.2 (newer than the versions in examples #0 and #1), the replace directive approach is the most appropriate solution. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
|
This vulnerability remediation is stale and no longer needed. 👋 Advisory CGA-96c2-q9m5-pq2m has the latest event type of "pending-upstream-fix" View with: |
<!--ci-cve-scan:must-fix: GHSA-cgrx-mc8f-2prm-->
daa169e to
a48a34f
Compare
|
This vulnerability remediation is stale and no longer needed. 👋 Advisory CGA-96c2-q9m5-pq2m has the latest event type of "pending-upstream-fix" View with: |
|
This vulnerability remediation is stale and no longer needed. 👋 Advisory CGA-69c4-wjrq-f6w2 has the latest event type of "FIXED" View with: |
envoy-gateway/1.6.2-r0: fix GHSA-cgrx-mc8f-2prm
Advisory data: https://github.com/wolfi-dev/advisories/blob/main/envoy-gateway.advisories.yaml
"Breadcrumbs" for this automated service
Inspected git repositories: https://github.com/envoyproxy/[email protected]