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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.005 (39.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 40th percentile — 39.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Dain Snappy — versions < 0.5
Weakness classification (CWE)
References
- github.com/dain/snappy/security/advisories/GHSA-8wh2-6qhj-h7j9 (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.