-
Notifications
You must be signed in to change notification settings - Fork 419
extism/1.6.1-r0: cve remediation #36590
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
Conversation
|
Gen AI suggestions to solve the build error: • Detected Error: There's no explicit error message in the log, but the failure appears to be related to using Go 1.23.4 which is not a valid Go version. • Error Category: Configuration/Version • Failure Point: The go/bump step where it attempts to run with Go 1.23.4 • Root Cause Analysis: Go 1.23.4 is an invalid version number as Go versions follow the pattern 1.x where x is currently ≤ 21. The build system is trying to use a non-existent Go version. • Suggested Fix: environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- openssf-compiler-options
- go-1.21 # Replace go-1.23 with go-1.21• Explanation:
• Additional Notes:
• References:
|
f764eed to
b33f6b7
Compare
|
Gen AI suggestions to solve the build error: • Detected Error: "Failed to running update. Error: unable to parse the go mod file with error: open go.mod: no such file or directory" • Error Category: Build Configuration • Failure Point: go/bump step trying to find go.mod file • Root Cause Analysis: The build is failing because the go/bump step cannot find the go.mod file. This is because the repository's Go module files are in a different directory structure than what's specified in the melange configuration. • Suggested Fix: Update the modroot path in both go/bump and go/build steps to match the repository structure: - uses: go/bump
with:
deps: golang.org/x/crypto@v0.31.0
modroot: .
- uses: go/build
with:
modroot: .
packages: .
output: extism• Explanation: Looking at the extism/cli repository structure, the go.mod file is in the root directory, not in an "extism" subdirectory. The current configuration is looking for go.mod in an "extism" subdirectory which doesn't exist. Changing modroot to "." will make it look in the root directory where the go.mod actually exists. • Additional Notes:
• References:
|
Signed-off-by: Mark McCormick <mark.mccormick@chainguard.dev>
Automated CVE update.
Needed a tweak to the go.mod root dir, as used to exist in sub-dir, that was refactored in this commit. Now inherits from parent go.mod.
extism/1.6.1-r0: fix GHSA-v778-237x-gjrc
Advisory data: https://github.com/wolfi-dev/advisories/blob/main/extism.advisories.yaml