kube-arangodb/1.3.0-r1: cve remediation#63368
Conversation
<!--ci-cve-scan:must-fix: GHSA-f9f8-9pmf-xv68-->
📦 Build Failed: Missing Dependency
Build Details
Root Cause Analysis 🔍The gobump tool attempted to update the github.com/docker/docker package to version v26.1.5, but this package is not present in the project's go.mod file. The tool requires the package to either exist in go.mod or be explicitly listed in the 'replaces' configuration to handle missing dependencies. 🔍 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: kube-arangodb.yaml
Replacement: Content: Click to expand fix analysisAnalysisAll three similar fixes follow the same pattern: when the gobump tool fails because a package like github.com/docker/docker is not found in the go.mod file, the solution is to add the missing package to the deps list in the go/bump pipeline step. In examples #0 and #1, github.com/docker/docker@v28.3.3+incompatible was added to the deps list with the +incompatible suffix. Example #2 shows the same pattern for a different package (github.com/go-jose/go-jose/v3). The key insight is that these packages need to be explicitly declared in the build configuration even if they're not direct dependencies in go.mod, likely because they're transitive dependencies that gobump needs to track for security updates. Click to expand fix explanationExplanationThe fix involves adding the +incompatible suffix to the github.com/docker/docker package specification in the deps list. This is necessary because the Docker package uses semantic import versioning that doesn't follow Go modules conventions properly. The +incompatible suffix tells Go that this package doesn't follow semantic versioning for major version changes, which is common for packages that predate Go modules. This matches exactly what was done in the similar fixes for the same package, where github.com/docker/docker@v28.3.3+incompatible was successfully used. The gobump tool requires this explicit declaration to properly track and update the dependency for security purposes, even though it may not be a direct dependency in the go.mod file. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
|
Pull request has a conflict due to two CVEs being remediated at the same time. The simplest solution to this is to delete the proposed branch with conflict and close the PR. This will allow automation to recreate the remediation with a new branch which will not result in conflict. |
kube-arangodb/1.3.0-r1: fix GHSA-f9f8-9pmf-xv68
Advisory data: https://github.com/wolfi-dev/advisories/blob/main/kube-arangodb.advisories.yaml
The following vulnerabilities are being deferred to future PRs (to avoid merge conflicts):
github.com/docker/docker@github.com/docker/docker@v28.0.0"Breadcrumbs" for this automated service