helm-mapkubeapis/0.6.1-r1: cve remediation#63369
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.0.0-rc3, 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: helm-mapkubeapis.yaml
Replacement: Content: Click to expand fix analysisAnalysisLooking at the similar fixed build failures, there's a clear pattern: when the gobump tool encounters a package that's not present in the go.mod file, the solution is to add that specific package with its exact version to the 'deps' list in the go/bump pipeline step. In all three examples, the fix involved adding the missing package (github.com/docker/docker or github.com/go-jose/go-jose/v3) with the specific version that gobump was trying to update to. The pattern shows that docker packages typically use the '+incompatible' suffix when added to the deps list. Click to expand fix explanationExplanationThe fix should work because the pattern from all similar failures shows that when gobump cannot find a package in go.mod, the solution is to ensure the package is properly specified in the deps list with the correct version format. In the case of Docker packages, they typically require the '+incompatible' suffix when specified as dependencies. The current configuration has 'github.com/docker/docker@v26.0.0-rc3' but based on the patterns from the fixed examples (which show '@v28.3.3+incompatible'), the Docker package needs the '+incompatible' suffix. This suffix indicates that the package doesn't follow semantic import versioning conventions, which is common for Docker packages. Adding this suffix should allow gobump to properly handle the dependency update. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
Signed-off-by: Vishal Choudhary <vishal.choudhary@chainguard.dev>
helm-mapkubeapis/0.6.1-r1: fix GHSA-f9f8-9pmf-xv68
Advisory data: https://github.com/wolfi-dev/advisories/blob/main/helm-mapkubeapis.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