Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| xerial / snappy-java | affected 0 before 1.1.10.9; unaffected 1.1.10.9 |
CWE
CWE-789
References
- 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
ADP enrichment
No English description supplied.
No references supplied.