Repository navigation
[Aikido] Fix 13 security issues in klauspost/compress, go - #675
Open
aikido-autofix[bot] wants to merge 1 commit into
Open
aikido-autofix[bot] wants to merge 1 commit into
aikido-autofix[bot] wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade compress to fix critical zstd decoder DoS vulnerability causing panics on malformed frames due to FSE normalized count overflow.
✅ 13 CVEs resolved by this upgrade
This PR will resolve the following CVEs:
-larguments, enabling attackers to load arbitrary LTO plugins and achieve code execution on the build machine.net/httpHTTP/1 servers, exceeding the MaxBytesReader body limit can race with response header writes and crash the process, causing denial of service. The fix uses an atomic flag instead of modifying headers from the body-reading goroutine.🤖 Remediation details
This PR fixes two vulnerable dependencies in the Go module
github.com/qor5/x/v3:github.com/klauspost/compressand thegolanguage version. The changes are in the rootgo.modandgo.sum.go.modnow requiresgithub.com/klauspost/compressv1.20.2 and declaresgo 1.26.11.go build ./...passed before and after the changes.github.com/klauspost/compress
This is an indirect dependency. It was raised from v1.18.7 to v1.20.2 with
go get github.com/klauspost/compress@v1.20.2, thengo mod tidy. v1.20.2 is the lowest patched release, and the installed version was inside the affected range (>=1.15.0 <=1.20.1). The module is still an indirect requirement, and no source files changed.go
The
godirective ingo.modwas raised from 1.26.10 to 1.26.11 withgo get go@1.26.11. This is the lowest patched release on the 1.26 line, and 1.26.10 was in the affected range. Nogo.workorvendordirectory exists, so no workspace sync or re-vendoring was needed.Version changes