Skip to content

Pin zstd-jni past Snyk-reported CVEs - #227

Merged
stsingh merged 1 commit into
mainfrom
sahej/cve-zstd-jni
Nov 20, 2026
Merged

stsingh merged 1 commit into
mainfrom
sahej/cve-zstd-jni

Conversation

@stsingh

@stsingh stsingh commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Why. Snyk, the customer's scanner, flags 8 issues (6 high) in 1.3.13. All are in zstd-jni 1.5.6-3, pulled in by arrow-compression 17. Trivy misses them. The shaded jar bundles zstd-jni unrelocated, so it ships them too.

Fix. Pin com.github.luben:zstd-jni:1.5.7-28 (fixed in 1.5.7-14) with the other CVE pins.

Verified.

  • snyk test on the generated POM: 0 issues across 45 dependencies (1.3.13: 8).
  • Trivy on the POM and the shaded jar: 0.
  • The shaded jar bundles native libraries for 1.5.7-28. A direct round trip and an Arrow ZSTD-codec round trip both pass.
  • Build and tests pass, except the 4 test classes that need credentials.
  • The staging Java offline query smoke test passes.

Related: FDE-86

🤖 Generated with Claude Code

Pin the zstd-jni dependency from Arrow compression to 1.5.7-28 to address the CVEs reported by Snyk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@stsingh
stsingh marked this pull request as ready for review November 19, 2026 22:28
@stsingh
stsingh merged commit 17703c8 into main Nov 20, 2026
1 check passed
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.

2 participants