
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-34453 affects snappy-java, a fast compressor/decompressor for Java, in versions prior to 1.1.10.1. The vulnerability was discovered in June 2023 and involves an integer overflow vulnerability in the shuffle function that could lead to a Denial of Service (DoS) condition (GitHub Advisory, NVD).
The vulnerability exists in the shuffle(int[] input) function within BitShuffle.java. The function multiplies the input array length by 4 without proper bounds checking, which can cause an integer overflow. This overflow can result in a smaller value than the true size, or even zero or negative values. The issue also affects shuffle functions handling double, float, long, and short data types, each using different multipliers (GitHub Advisory). The vulnerability has been assigned a CVSS v3.1 base score of 7.5 HIGH by NVD and 5.9 MEDIUM by GitHub (NVD).
When exploited, this vulnerability can cause the program to crash through various exceptions. If the overflow results in a negative value, it triggers a java.lang.NegativeArraySizeException. If it results in a zero or too small value, it can cause java.lang.ArrayIndexOutOfBoundsException when the code attempts to reference the shuffled array (GitHub Advisory).
The vulnerability has been patched in version 1.1.10.1 of snappy-java. Users should upgrade to this version or later to mitigate the risk. The fix includes adding proper checks for integer overflow conditions before performing the multiplication operations (GitHub Patch).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."