7.5

CVE-2023-34453: snappy-java's Integer Overflow vulnerability in shuffle leads to DoS

Modified
AliasesUBUNTU-CVE-2023-34453CGA-c824-qgmv-pf5gCGA-j5wg-jx94-8m8q
Published 15-06-2023Last modified 12-12-2024

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.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.71%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 15-06-2023
    PublishedVulnerability first disclosed.
  2. 12-12-2024
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Snappy Java

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

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

5 vendors · 6 products

References

9 links