PT-2023-4869

CVE-2023-34454

·

تاريخ النشر

2023-06-15

·

تاريخ التحديث

2026-09-18

الوصف من

CVSS 2.0
7.8
عالية
المقاييسAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions snappy-java versions prior to 1.1.10.1
Description The issue is related to an integer overflow in the compress(char[] input) function of the snappy-java library, which can cause an unrecoverable fatal error. This occurs when the length of the input array is multiplied by 2 and passed to the rawCompress function, potentially resulting in a negative value. The maxCompressedLength function treats this length as an unsigned integer and returns a valid value, which is then cast to a signed integer by the Java engine. If the result is negative, a java.lang.NegativeArraySizeException exception is raised, while a positive result may lead to a fatal Access Violation error due to the allocated array being too small for compression. The same issue exists for compress functions receiving double, float, int, long, and short values, each using different multipliers. The problem is unlikely to occur with byte arrays, as creating an array of size 0x80000000 or any other negative value is impossible.
Recommendations To resolve the issue, upgrade snappy-java to version 1.1.10.1 or later. For Bitbucket Data Center and Server, upgrade to the following versions:
  • 7.21: Upgrade to a release greater than or equal to 7.21.21
  • 8.9: Upgrade to a release greater than or equal to 8.9.5
  • 8.13: Upgrade to a release greater than or equal to 8.13.1 As a temporary workaround, consider restricting the input size to prevent integer overflows until a patch is applied.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
تصنيف نقاط الضعف
المعرّفات ذات الصلة
GHSA-FJPJ-2G6W-X25R
CLEANSTART-2026-DD05788
CLEANSTART-2026-LZ10152
CLEANSTART-2026-VH41554
ECHO-FBE9-4D97-F7D2
OESA-2023-1398
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾