CVE-2024-36124

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-36124
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36124.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-36124
Aliases
Published
2024-06-03T14:25:58Z
Modified
2025-10-22T18:42:27.909080Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
iq80 Snappy has an out-of-bounds read when uncompressing data, leading to JVM crash
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-125"
    ]
}
References

Affected packages

Git / github.com/dain/snappy

Affected ranges

Type
GIT
Repo
https://github.com/dain/snappy
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

snappy-0.*

snappy-0.1
snappy-0.2
snappy-0.3
snappy-0.4