kubevela/1.10.6-r0: cve remediation - #77702
Conversation
📦 Build Failed: Missing Dependency
Build Details
Root Cause Analysis 🔍The k8s.io/apiserver module version 0.35.0 does not contain the required package k8s.io/apiserver/pkg/util/version that is being imported by the dependency chain. This is likely due to package restructuring or removal in newer versions of the Kubernetes apiserver module. 🔍 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: kubevela.yaml
Replacement: Content: Click to expand fix analysisAnalysisThe similar fix shows a pattern where k8s.io/apiserver version compatibility issues are resolved by explicitly downgrading to a specific working version using the 'replaces' directive in the go/bump step. In the previous fix, k8s.io/apiserver was replaced with v0.31.12 when v0.33.4 was causing the missing package error. This suggests that newer versions of k8s.io/apiserver have restructured or removed the pkg/util/version package. Click to expand fix explanationExplanationThis fix addresses the root cause by explicitly constraining k8s.io/apiserver to version v0.31.12, which is known to contain the required pkg/util/version package. The current error occurs because the latest version (v0.35.0) has likely removed or restructured this package. By adding the replacement directive, we force the Go module system to use the compatible version instead of attempting to use the latest. The fix follows the exact same pattern as the previous successful fix, just updating the replaces directive to include both the existing Docker replacement and the new apiserver version constraint. 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-r58r-cg5j-q278 has the latest event type of "pending-upstream-fix" View with: |
7398d72 to
6d4e87f
Compare
|
This vulnerability remediation is stale and no longer needed. 👋 Advisory CGA-r58r-cg5j-q278 has the latest event type of "pending-upstream-fix" View with: |
<!--ci-cve-scan:must-fix: GHSA-f9f8-9pmf-xv68-->
6d4e87f to
ac76b84
Compare
|
This vulnerability remediation is stale and no longer needed. 👋 Advisory CGA-3j55-r9m2-g92v has the latest event type of "FIXED" View with: |
Co-authored-by: staging-update-bot <staging-update-bot@chainguard.dev> Export: b36e2d879596ac4aa09b53f056ce46e074b325e8
kubevela/1.10.6-r0: fix GHSA-f9f8-9pmf-xv68
Advisory data: https://github.com/wolfi-dev/advisories/blob/main/kubevela.advisories.yaml
"Breadcrumbs" for this automated service
Inspected git repositories: https://github.com/kubevela/kubevela@v1.10.6