cve.bz

CVE-2023-34453 xerial snappy-java: Year 2038 problem, Y2K38, Y2038, Epochalypse

7.5 highExploit referenceEPSS 1.7%Fix available

High (7.5) in xerial snappy-java. EPSS 1.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.xerial.snappy:snappy-java 1.1.10.1.

On this page
snappy-java is a fast compressor/decompressor for Java. Due to unchecked multiplications, an integer overflow may occur in versions prior to 1.1.10.1, causing a fatal error. The function `shuffle(int[] input)` in the file `BitShuffle.java` receives an array of integers and applies a bit shuffle on it. It does so by multiplying the length by 4 and passing it to the natively compiled shuffle function. Since the length is not tested, the multiplication by four can cause an integer overflow and become a smaller value than the true size, or even zero or negative. In the case of a negative value, a `java.lang.NegativeArraySizeException` exception will raise, which can crash the program. In a case of a value that is zero or too small, the code that afterwards references the shuffled array will assume a bigger size of the array, which might cause exceptions such as `java.lang.ArrayIndexOutOfBoundsException`. The same issue exists also when using the `shuffle` functions that receive a double, float, long and short, each using a different multiplier that may cause the same issue. Version 1.1.10.1 contains a patch for this vulnerability.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.7% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 78th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-12-12. 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-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-34453 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-34453?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-34453?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-2023-34453 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
xerial:snappy-javabefore 1.1.10.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pqr6-cmr2-h8hfMavenorg.xerial.snappy:snappy-java<1.1.10.11.1.10.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTS and 6 moresnappy-javano fix listedUBUNTU-CVE-2023-34453

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat AMQ Streams 2.5.0Fixed 2023-09-14RHSA-2023:5165
Red Hat build of Quarkus 2.13.9snappy-javaFixed 2023-12-07RHSA-2023:7700
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Not affected
OpenShift Serverlesssnappy-javaWill not fix
Red Hat Enterprise Linux 8log4j:2/log4jNot affected
Red Hat Enterprise Linux 9log4jNot affected
Red Hat JBoss Fuse 6snappy-java-allWill not fix
Red Hat JBoss Fuse 6snappy-java-all-repolibWill not fix
Red Hat JBoss Fuse Service Works 6snappy-java-allOut of support scope
Red Hat JBoss Fuse Service Works 6snappy-java-all-repolibOut of support scope
Red Hat OpenShift Container Platform 3.11openshift3/metrics-cassandraOut of support scope
Red Hat OpenShift Container Platform 3.11openshift3/ose-metrics-cassandraOut of support scope
Red Hat Satellite 6snappy-javaNot affected
Red Hat Satellite 6snappy-java-debuginfoNot affected
Red Hat Software Collectionssnappy-javaWill not fix
streams for Apache Kafkasnappy-javaNot affected
streams for Apache Kafkasnappy-java-debuginfoNot affected
streams for Apache Kafkasnappy-java-repolibNot affected

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-2023-34453.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

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

References

Check your stackJSON