-
Notifications
You must be signed in to change notification settings - Fork 278
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
kubevela/1.9.13-r1: cve remediation #35699
Conversation
Gen AI suggestions to solve the build error: Based on the error log, I'll analyze the build failure: • Detected Error: The build appears to fail when running "go/bump" step with Go 1.23.3, which is an invalid Go version (latest stable is 1.21.x) • Error Category: Version/Configuration • Failure Point: The go/bump step attempting to use Go 1.23.3 • Root Cause Analysis: The system is trying to use Go 1.23.3, which doesn't exist. The highest current stable version of Go is 1.21.x. This appears to be an incorrect version specification in the build environment. • Suggested Fix:
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- go-1.21
- openssf-compiler-options • Explanation:
• Additional Notes:
• References:
Would you like me to provide additional guidance on version compatibility or build configuration? |
1d43bac
to
a0234e1
Compare
Gen AI suggestions to solve the build error: Based on the error output, I'll analyze and provide specific fixes: • Detected Error: "Failed to running update. Error: failed to run 'go get': exit status 1 with output: go: errors parsing go.mod" • Error Category: Dependency/Version • Failure Point: go/bump step during dependency updates • Root Cause Analysis: • Suggested Fix:
- uses: go/bump
with:
deps: |
github.com/containerd/[email protected]
github.com/cloudflare/[email protected]
github.com/fluxcd/source-controller/[email protected]
oras.land/[email protected]
golang.org/x/[email protected]
replaces: |
github.com/go-git/go-git/v5=github.com/go-git/go-git/[email protected]
github.com/docker/docker=github.com/moby/[email protected]
- uses: go/bump
with:
deps: |
go.opentelemetry.io/contrib/instrumentation/net/http/[email protected]
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/[email protected]
go.opentelemetry.io/otel/exporters/otlp/otlptrace/[email protected]
github.com/hashicorp/[email protected] • Explanation: • Additional Notes:
• References:
|
a0234e1
to
aa66eb7
Compare
Gen AI suggestions to solve the build error: • Detected Error: "replace github.com/moby/moby: version "v26.0.0" invalid: should be v0 or v1, not v26" • Error Category: Version • Failure Point: go/bump step when trying to update dependencies • Root Cause Analysis: The error occurs because Go's module system expects semantic versioning (v0 or v1 for major versions), but we're trying to use v26.0.0 for moby/moby which doesn't follow this convention • Suggested Fix: - uses: go/bump
with:
deps: github.com/containerd/[email protected] github.com/cloudflare/[email protected] go.opentelemetry.io/contrib/instrumentation/net/http/[email protected] go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/[email protected] go.opentelemetry.io/otel/exporters/otlp/otlptrace/[email protected] github.com/fluxcd/source-controller/[email protected] oras.land/[email protected] golang.org/x/[email protected] github.com/hashicorp/[email protected] github.com/moby/[email protected]
replaces: github.com/go-git/go-git/v5=github.com/go-git/go-git/[email protected] github.com/docker/docker=github.com/moby/[email protected] • Explanation: The Moby project (Docker) uses an unconventional versioning scheme that doesn't comply with Go modules' semantic versioning requirements. Using the latest stable version (24.0.7) instead of v26.0.0 should resolve the parsing error while maintaining compatibility. • Additional Notes:
• References:
|
…t needed in the 'replaces' section to remediate this CVE Signed-off-by: Mark McCormick <[email protected]>
The automation almost got this one right, but it omitted '+incompatible' (internal DYDX issue filed).
kubevela/1.9.13-r1: fix GHSA-gh5c-3h97-2f3q
Advisory data: https://github.com/wolfi-dev/advisories/blob/main/kubevela.advisories.yaml