Skip to content

Conversation

@akshayrai10
Copy link

@akshayrai10 akshayrai10 commented Dec 17, 2025

Description

This PR upgrades snappy-java from 1.1.8.4 to 1.1.10.8 to address multiple security vulnerabilities

Security Fixes

This upgrade addresses the following CVEs:

Changes

1. Dependency Update (project.clj)

  • Upgraded org.xerial.snappy/snappy-java from 1.1.8.4 to 1.1.10.8

2. Security Tests (test/byte_transforms_snappy_security_test.clj)

Added 8 test suites with 31 assertions to verify the security fixes:

  • test-snappy-large-data-compression - Tests 100MB data handling (CVE-2023-34455)
  • test-snappy-highly-compressible-data - Tests edge cases with zeros and patterns
  • test-snappy-edge-case-sizes - Tests empty, single byte, power-of-2, and chunk boundary sizes
  • test-snappy-random-data-robustness - Tests random data patterns (CVE-2023-34454, CVE-2023-34453)
  • test-snappy-streaming-large-data - Tests 50MB streaming compression (CVE-2023-34455)
  • test-snappy-all-byte-values - Tests all possible byte values
  • test-snappy-repeated-compression - Tests 10 rounds of compression/decompression (CVE-2023-43642)
  • test-snappy-concurrent-operations - Tests parallel compression operations (CVE-2023-43642)

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.

1 participant