Repository navigation
[SNOW-4556538] Exclude snappy-java from shaded SDK jar - #1181
Open
sfc-gh-alhuang wants to merge 1 commit into
Open
sfc-gh-alhuang wants to merge 1 commit into
sfc-gh-alhuang wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Code <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1181 +/- ##
==========================================
+ Coverage 61.98% 62.02% +0.04%
==========================================
Files 214 214
Lines 14676 14676
Branches 1614 1614
==========================================
+ Hits 9097 9103 +6
+ Misses 4863 4859 -4
+ Partials 716 714 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
snowflake-ingest-sdk 4.4.x shades snappy-java 1.1.10.5, which scanners flag for CVE-2026-90559, CVE-2026-93451 and CVE-2026-93452 (snappy-java through 1.1.10.8). Since the classes are relocated, downstream consumers cannot override the version.
The SDK never uses Snappy:
GZIP/ZSTD(Constants.BdecParquetCompression), validated byParameterProvider.getBdecParquetCompressionAlgorithm().uncompresspaths are unreachable.org.xerial.snappyare the Parquet/Hadoop/Avro Snappy codec classes, which are only loaded when the SNAPPY codec is requested.Changes:
snappy-javafromhadoop-commonandparquet-hadoop(the only paths that pull it in).snappy.version.org.xerial.snappy, following the existing XZ entry.Related: #1178 (jackson-dataformat-cbor exclusion for the same customer scan).
🤖 Generated with Claude Code