You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Affected versions of this package are vulnerable to Integer Overflow or Wraparound via the shuffle(int[] input) function due to improper validation of the multiplications done on the input length.
Exploiting this vulnerability is possible by passing negative, zero, float, very small, or very long values to the shuffle functions, which later on are multiplicated by four.
A successful exploration results in “java.lang.ArrayIndexOutOfBoundsException" or “java.lang.NegativeArraySizeException” exceptions which can crash the program.
Overview
Affected versions of this package are vulnerable to Integer Overflow or Wraparound via the
shuffle(int[] input)
function due to improper validation of the multiplications done on the input length.Exploiting this vulnerability is possible by passing negative, zero, float, very small, or very long values to the
shuffle
functions, which later on are multiplicated by four.A successful exploration results in “java.lang.ArrayIndexOutOfBoundsException" or “java.lang.NegativeArraySizeException” exceptions which can crash the program.
PoC
The program will crash, showing the following error (or similar):
Remediation
Upgrade
org.xerial.snappy:snappy-java
to version 1.1.10.1 or higher.References
The text was updated successfully, but these errors were encountered: