نسخههای متأثر
- نسخههای متأثر
- نامشخص
- نسخهٔ اصلاحشده
- اعلام نشده
بهرهبرداری
شرح آسیبپذیری
In Eclipse Vert.x versions [4.0.0, 4.5.34] or [5.0.0,5.0.12] or [5.1.0,5.1.9] or [5.2.0, 5.2.0], the binary array decoder in vertx-pg-client (DataTypeCodec.binaryDecodeArray) allocates a Java array sized by a server-declared 32-bit dimension count with no upper bound. A malicious or compromised PostgreSQL server, or an on-path attacker intercepting an unencrypted connection, can send a crafted DataRow message with an excessively large array dimension value, causing the client to attempt a multi-gigabyte heap allocation and crash with an OutOfMemoryError. The impacted component is io.vertx:vertx-pg-client.
A flaw was found in vertx-pg-client. The binary array decoder does not enforce an upper bound on server-declared array dimensions during memory allocation. A malicious database server or an on-path attacker intercepting an unencrypted connection can exploit this flaw by sending a crafted message containing an excessively large dimension value. This forces the client application to attempt an excessive memory allocation, leading to a Denial of Service (DoS) through an out-of-memory crash.

