-
Notifications
You must be signed in to change notification settings - Fork 419
juicefs-1.3/1.3.1-r1: cve remediation #77735
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
juicefs-1.3/1.3.1-r1: cve remediation #77735
Conversation
<!--ci-cve-scan:must-fix: GHSA-wf43-55jj-vwq8-->
🔢 Build Failed: Dependency Version Mismatch
Build Details
Root Cause Analysis 🔍The go.etcd.io/etcd module version v3.4.0 has a go.mod file that requires the module path to include the major version suffix (/v3), but the gobump tool is trying to use the old module path without the version suffix. This is a Go module versioning compliance issue where the module path doesn't match the required major version format. 🔍 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: juicefs-1.3.yaml
Replacement: Content: Click to expand fix analysisAnalysisBased on the similar fixed build failures, I observe a clear pattern: when Go modules use major version v2 or higher, they must include the major version suffix in their module path (e.g., /v2, /v3). Both previous fixes addressed this by adding the correct versioned module path alongside the original dependency. For containerd v2.x.x, the fixes added "github.com/containerd/containerd/[email protected]" while keeping the v1.x.x version for backward compatibility. The same pattern applies to etcd v3.x.x which requires "go.etcd.io/etcd/[email protected]" module path format. Click to expand fix explanationExplanationThis fix should work because it addresses the root cause of the Go module versioning error. The etcd project, like containerd, follows Go module semantic versioning conventions where major versions v2 and above must include the major version suffix in the module path. The error message specifically states that "module path must match major version" and indicates the path should be "go.etcd.io/etcd/v3" for v3.x.x versions. By changing "go.etcd.io/[email protected]" to "go.etcd.io/etcd/[email protected]", we're providing the correct module path that matches the go.mod file's module declaration, which will allow Go's module system to properly resolve and validate the dependency. 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-mvh3-v8v8-6jpj has the latest event type of "false-positive-determination" View with: 🔀 v2 advisory logic would not have closed this PR: Found 4 advisories, but 2 of them are not resolved (CGA-w686-4xf6-5ww3, CGA-qmfc-qqj8-jqp2). |
|
This vulnerability remediation is stale and no longer needed. 👋 Advisory CGA-mvh3-v8v8-6jpj has the latest event type of "false-positive-determination" View with: |
|
This vulnerability remediation is stale and no longer needed. 👋 Advisory CGA-q8pm-5jgw-5755 has the latest event type of "FALSE_POSITIVE_DETERMINATION" View with: |
juicefs-1.3/1.3.1-r1: fix GHSA-wf43-55jj-vwq8
Advisory data: https://github.com/wolfi-dev/advisories/blob/main/juicefs-1.3.advisories.yaml
"Breadcrumbs" for this automated service
Inspected git repositories: https://github.com/juicedata/[email protected]