Vulnerability · Published Jun 3, 2024 · Assigned by GitHub_M
CVE-2024-36124iq80 Snappy has an out-of-bounds read when uncompressing data, leading to JVM crash
Medium 5.3
In plain English
A medium-severity out-of-bounds read in snappy from dain. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
iq80 Snappy is a compression/decompression library. When uncompressing certain data, Snappy tries to read outside the bounds of the given byte arrays. Because Snappy uses the JDK class `sun.misc.Unsafe` to speed up memory access, no additional bounds checks are performed and this has similar security consequences as out-of-bounds access in C or C++, namely it can lead to non-deterministic behavior or crash the JVM. iq80 Snappy is not actively maintained anymore. As quick fix users can upgrade to version 0.5.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.iq80.snappy:snappy | 0.5 | GHSA-8wh2-6qhj-h7j9 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://github.com/dain/snappy/security/advisories/GHSA-8wh2-6qhj-h7j9 x_refsource_CONFIRM