Skip to content

fix(deps): bump github.com/klauspost/compress to fix high CVE-2026-116591 - #200

Open
Pattern Security Automation (pattern-security-automation) wants to merge 1 commit into
mainfrom
wiz-fix-cve-2026-116591-b968597c
Open

Pattern Security Automation (pattern-security-automation) wants to merge 1 commit into
mainfrom
wiz-fix-cve-2026-116591-b968597c

Conversation

@pattern-security-automation

Copy link
Copy Markdown
Contributor

Supply Chain Vulnerability — Auto-Remediation PR

This PR was automatically generated by Pattern Security Automation.
Please review the dependency change and ensure CI passes before merging.


CVE Details

Field Value
CVE CVE-2026-116591
Severity HIGH
Repository patterninc/heimdall
Vulnerable package github.com/klauspost/compress
Fixed version 1.20.2
Dependency type Direct
Previous version v1.18.0
Language go

What Changed

github.com/klauspost/compress: v1.18.0 → 1.20.2

  • go.mod
  • go.sum

Lock File Status

Lock file updated

CI Validation

This PR relies on the repository's existing CI pipeline to validate that the
dependency update does not break tests. Please ensure all checks pass before merging.

False positive?

If you've reviewed this and the CVE is not actually exploitable here, add the
wiz-false-positive label to this PR before closing it. The auto-remediation
pipeline will record the false positive, stop re-flagging this CVE, and (if enabled)
mark it rejected in Wiz.

AI Triage Analysis

Verdict: Needs Review

Reasoning: The package github.com/klauspost/compress v1.18.0 is listed as an indirect dependency in go.mod. The CVE affects the zstd DecodeAll and streaming decoder paths in the compress package. This repo uses multiple direct dependencies that are known to pull in klauspost/compress transitively, particularly github.com/ClickHouse/clickhouse-go/v2, github.com/apache/arrow-go/v18, github.com/snowflakedb/gosnowflake, and github.com/ClickHouse/ch-go. None of the 5 sampled source files directly import or call klauspost/compress, but with ~205 source files total and heavy use of data processing libraries (ClickHouse, Arrow, Snowflake, StarRocks), it's plausible that zstd decompression is exercised transitively when processing compressed data responses from these backends. The vulnerable functionality (zstd decoding of untrusted input) may be reachable if the application decodes zstd-compressed data from external sources.

References

Developer feedback

Was this automation helpful? Share feedback (takes ~1 min)


Auto-generated by Pattern Security Automation

CVE: CVE-2026-116591
Component: github.com/klauspost/compress
Fixed version: 1.20.2
Manifest: go.mod
Dependency type: direct

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The dependency version and checksum update has no active review issues.

No open issues 🎉

What changed in this PR

Updates the indirect Go dependency github.com/klauspost/compress to address the reported CVE-2026-116591.

Changes:

  • Bumps the dependency from v1.18.0 to v1.20.2.
  • Updates the corresponding module checksums.
File Description
go.sum Replaces checksums for the updated dependency version.
go.mod Pins github.com/klauspost/compress to v1.20.2.

Review effort: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants