CVE-2023-34453: snappy-java's Integer Overflow vulnerability in shuffle leads to DoS
Vulnerability summary
CVE-2023-34453 is a high (CVSS 7.5) Integer Overflow or Wraparound vulnerability in xerial snappy-java. EPSS estimates a 1.71% chance of exploitation in the next 30 days, higher than 77.3% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 15-06-2023PublishedVulnerability first disclosed.
- 12-12-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- CVE.orgCNA5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · ChainguardEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · MavenEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
1.71%
Chance of exploitation in the next 30 days
Percentile
77%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.71% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundSnappy Java
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard2 products
- druid< 37.0.0-r0 | < 35.0.1-r1
- hadoop-fips-3.3.6All versions (No fix recorded)
Org.xerial.snappy1 product
- snappy-java< 1.1.10.1
Ubuntu1 product
- snappy-javaAll versions (No fix recorded)
Wolfi1 product
- druid< 37.0.0-r0 | < 35.0.1-r1
Xerial1 product
- snappy-java< 1.1.10.1
5 vendors · 6 products
References
9 links- github.com/xerial/snappy-java/security/advisories/GHSA-pqr6-cmr2-h8hfX Refsource CONFIRMREPORTAdvisoryWEBExploitVendor Advisory
- github.com/xerial/snappy-java/commit/820e2e074c58748b41dbd547f4edba9e108ad905X Refsource MISCREPORTFIXWEBPatch
- github.com/xerial/snappy-java/blob/master/src/main/java/org/xerial/snappy/BitShuffle.javaX Refsource MISCREPORTWEBIssue Tracking