Description
Xerial snappy-java before 1.1.10.9 contains an unbounded memory allocation vulnerability that allows attackers to exhaust JVM memory by declaring a large uncompressed length in compressed input. Attackers can supply a few crafted bytes to Snappy.uncompress, uncompressString, SnappyInputStream or SnappyFramedInputStream to force allocations up to 2 GB, causing OutOfMemoryError and denial of service.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
xerial snappy-java
Default version status: unaffected
0 to < 1.1.10.9affected1.1.10.9unaffected
pkg:maven/org.xerial.snappy/snappy-javaReferences
- https://github.com/xerial/snappy-java/security/advisories/GHSA-q233-g92q-qxp6 ↗
- https://github.com/xerial/snappy-java/commit/943c6043a292568575e8347af4507d015e802c75 ↗
- https://github.com/xerial/snappy-java/releases/tag/v1.1.10.9 ↗
- https://github.com/xerial/snappy-java/blob/v1.1.10.8/src/main/java/org/xerial/snappy/Snappy.java#L517 ↗
- https://github.com/xerial/snappy-java ↗
- https://www.vulncheck.com/advisories/xerial-snappy-java-before-1.1.10.9-unbounded-memory-allocation-denial-of-service ↗