Out-of-bounds Read in Dain Snappy
CVE-2024-36124
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.
Vulnerability class: Buffer Overflow
EPSS: 0.005 (39.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
Affected products
- Dain Snappy — versions < 0.5
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
Frequently asked questions
- What is CVE-2024-36124?
- CVE-2024-36124 is a medium-severity vulnerability in Dain Snappy, classified under Out-of-bounds Read. CVSS score: 5.3/10. Published 2024-06-03.
- How severe is CVE-2024-36124?
- Medium severity. CVSS v3 base score is 5.3 out of 10.