Conversation
govulncheck fails on main with GO-2026-6865. A crafted zstd frame makes the klauspost/compress decoder panic instead of returning an error, and v1.20.2 fixes it. We decode zstd from image layers, snapshots and sandbox asset tarballs. v1.20.4 also fixes a zstd encoder bug that can write a stream the decoder rejects. Signed-off-by: Haven Xia <haoyuxia@google.com>
Julian Gutierrez Oschmann (juli4n)
approved these changes
Nov 14, 2026
Julian Gutierrez Oschmann (juli4n)
left a comment
Collaborator
There was a problem hiding this comment.
LGTM. While reviewing this I found some gaps in how we run govulncheck (see #3855).
None of them block this PR though.
Merged
2 tasks done
Haven Xia (HavenXia)
added a commit
to HavenXia/substrate
that referenced
this pull request
Nov 16, 2026
…ress to v1.20.4 to fix govulncheck govulncheck fails on main with GO-2026-6865. Update `github.com/klauspost/compress` from `v1.19.1` to `v1.20.4` . Testing: `govulncheck ./...` with Go 1.27.4 finds no called vulnerabilities. AI use: assisted with Claude code. - [x] Tests pass - [ ] Docs updated (cherry picked from commit a464646) Signed-off-by: Haven Xia <haoyuxia@google.com>
Jay (jay23606)
added a commit
to jay23606/substrate
that referenced
this pull request
Nov 29, 2026
…ate#3850) govulncheck fails on main with GO-2026-6865. Update `github.com/klauspost/compress` from `v1.19.1` to `v1.20.4` . Testing: `govulncheck ./...` with Go 1.27.4 finds no called vulnerabilities. AI use: assisted with Claude code. - [x] Tests pass - [ ] Docs updated Signed-off-by: Haven Xia <haoyuxia@google.com>
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.
govulncheck fails on main with GO-2026-6865. Update
github.com/klauspost/compressfromv1.19.1tov1.20.4.Testing:
govulncheck ./...with Go 1.27.4 finds no called vulnerabilities.AI use: assisted with Claude code.