Skip to main content
Public proof of conceptFix available

CVE-2023-34453

A public proof of concept exists; no exploitation attested.

  • Published2023-06-15
  • Fixed in1.1.10.1
  • WeaknessCWE-190

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2023-06-1517:15CVE publishedNVD

Versions per branch

NVD · OSV
Xerial snappy-java
BranchAffectedFixed in
1.1< 1.1.10.11.1.10.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • xerial snappy-java
    Affected
    • = < 1.1.10.1no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2023-06-15

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • druidWolfiall versions · fixed in 37.0.0-r0
  • druidWolfiall versions · fixed in 35.0.1-r1
  • druidChainguardall versions · fixed in 37.0.0-r0
  • druidChainguardall versions · fixed in 35.0.1-r1
  • hadoop-fips-3.3.6Chainguardall versions · no fixed version listed
  • org.xerial.snappy:snappy-javaTuxCare:Mavenfrom 1.1.8.4 · fixed in 1.1.8.4.tuxcare
  • snappy-javaUbuntu:26.10all versions · no fixed version listed
  • snappy-javaUbuntu:26.04:LTSall versions · no fixed version listed

8 more package ranges on OSV.dev

Vendor advisories

  • CVE-2023-34453 Red Hat Product Security2 products fixed · 8 known affected

    snappy-java: Integer overflow in shuffle leads to DoS

    snappy-java as a component of OpenShift Serverless · snappy-java-all as a component of Red Hat JBoss Fuse 6 · snappy-java-all-repolib as a component of Red Hat JBoss Fuse 6 · +5 more

  • RHSA-2023:7700 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat build of Quarkus 2.13.9 release and security update

  • RHSA-2023:5165 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat AMQ Streams 2.5.0 release and security update

Full record on NVD

Fix

  1. Update Xerial snappy-java to 1.1.10.1
  2. Vendor fix Red Hat Product Security RHSA-2023:7700 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security RHSA-2023:5165 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. The References section of this erratum contains a download link (you must log in to download the update).
  4. No fix planned, says the vendor Red Hat Product Security CVE-2023-34453 · 4 productsOut of support scope
  5. No fix planned, says the vendor Red Hat Product Security CVE-2023-34453 · 4 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2024-12-12
  • CNACVSS 3.15.9known since 2026-10-23
  • NVDCVSS 3.17.5read 2026-10-23
  • CNAweakness (CWE)CWE-190known since 2026-10-23
  • FIRST EPSSEPSS score1.7 %2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryModerate2023-06-15

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2023-06-15
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-pqr6-cmr2-h8hf

Frequently asked questions

What is CVE-2023-34453?

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.

Is CVE-2023-34453 actively exploited?

A proof-of-concept exploit exists for CVE-2023-34453, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2023-34453?

CVE-2023-34453 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running snappy-java? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record