Registry Mirror
Skip to content

Conversation

@HavenXia

Copy link
Copy Markdown
Member

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.

  • Tests pass
  • Docs updated

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>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. While reviewing this I found some gaps in how we run govulncheck (see #3855).

None of them block this PR though.

Merged via the queue into agent-substrate:main with commit a464646 Nov 14, 2026
5 checks passed
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>
Lior Lieberman (LiorLieberman) pushed a commit that referenced this pull request Nov 18, 2026
… to fix govulncheck (#3877)

Cherry-pick of #3850 onto `release-1.0`. It applied cleanly, with the
same diff as on main.



- [x] Tests pass
- [x] Docs updated

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants