helm-set-status/0.3.0-r1: cve remediation#63343
Conversation
<!--ci-cve-scan:must-fix: GHSA-f9f8-9pmf-xv68-->
📦 Build Failed: Missing Dependency
Build Details
Root Cause Analysis 🔍The gobump tool is attempting to update the github.com/docker/docker package to version v26.1.5, but this package is not present in the current go.mod file. This suggests either the package was previously removed from dependencies or the version bump configuration is referencing a package that doesn't exist in the project's dependency list. 🔍 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-set-status.yaml
Replacement: Content: Click to expand fix analysisAnalysisLooking at the similar fixes, there's a clear pattern: when gobump encounters a package that's not found in the go.mod file, the solution is to add that specific package with its version to the deps list in the go/bump step. In all three examples, the missing package was added to the deps section with the exact version that gobump was trying to update to. Fix #0 and #1 both dealt with the same github.com/docker/docker package being missing and added it with version v28.3.3+incompatible. Fix #2 showed a similar pattern with github.com/go-jose/go-jose/v3 being added to resolve the missing package error. Click to expand fix explanationExplanationThe fix should work because the error indicates that gobump cannot find github.com/docker/docker in the go.mod file when trying to update it to v26.1.5. Based on the similar fixes, particularly examples #0 and #1, the solution is to add the +incompatible suffix to the Docker package version in the deps list. The +incompatible suffix is required for Docker packages because they don't follow semantic versioning conventions that Go modules expect. This tells the Go module system to treat this as a legacy package that predates Go modules. The current configuration has github.com/docker/docker@v26.1.5, but it should be github.com/docker/docker@v26.1.5+incompatible to properly handle the package's non-standard versioning scheme. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
helm-set-status/0.3.0-r1: fix GHSA-f9f8-9pmf-xv68
Advisory data: https://github.com/wolfi-dev/advisories/blob/main/helm-set-status.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