cve.bz

CVE-2024-36124 dain snappy: Out-of-bounds Read

5.3 mediumEPSS 0.5%Fix available

Medium (5.3) in dain snappy. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in org.iq80.snappy:snappy 0.5.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-08-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-36124 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-36124?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-36124?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-36124 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
dain:snappybefore 0.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8wh2-6qhj-h7j9Mavenorg.iq80.snappy:snappy<0.50.5

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Moderate impact: CVE-2024-36124 affects Red Hat products that include the iq80 Snappy compression/decompression component, including affected Red Hat Integration, Red Hat build of Apache Camel, Red Hat Ansible Automation Platform and Ansible Services, OpenShift Container Platform, JBoss Data Grid, Red Hat JBoss Fuse, Red Hat Process Automation Manager, and Red Hat build of OptaPlanner streams. When a vulnerable product decompresses attacker-supplied data, the library may read outside the bounds of a byte array because its sun.misc.Unsafe memory accesses do not perform additional bounds checks; this can cause non-deterministic behavior or crash the JVM. The CVSS 3.1 score is 5.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L), reflecting network-reachable availability impact only. Products marked Not Affected, including OpenShift Serverless, Enterprise Application Platform XP, Red Hat AMQ, Red Hat build of Keycloak, and Red Hat Build of Quarkus, do not contain the vulnerable code. Remediation for affected products is delegated to the responsible product teams, with a fix being pursued where applicable; some affected legacy streams are tracked as won't-fix.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
A-MQ Clients 2snappyAffected
Cryostat 2snappyNot affected
Logging Subsystem for Red Hat OpenShiftsnappyAffected
Migration Toolkit for Applications 6snappyWill not fix
Migration Toolkit for RuntimessnappyWill not fix
OpenShift ServerlesssnappyNot affected
Red Hat AMQ Broker 7snappyNot affected
Red Hat AMQ ClientssnappyNot affected
Red Hat Ansible Automation Platform 2snappyNot affected
Red Hat build of Apache Camel 4 for Quarkus 3snappyNot affected
Red Hat build of Apache Camel for Spring Boot 4snappyNot affected
Red Hat build of Apache Camel - HawtIO 4snappyWill not fix
Red Hat build of Apicurio Registry 2snappyAffected
Red Hat build of Debezium 2snappyAffected
Red Hat Build of KeycloaksnappyNot affected
Red Hat build of OptaPlanner 8snappyWill not fix
Red Hat build of Quarkussnappy-javaNot affected
Red Hat Data Grid 8snappyWill not fix
Red Hat Fuse 7snappyWill not fix
Red Hat Integration Camel K 1snappyWill not fix
7 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-36124.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON