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 MySQL message decoder aggregates inbound multi-packet payloads into a composite direct-memory buffer without any cumulative size limit. A malicious, compromised, or man-in-the-middle MySQL server can send a continuous stream of packets with the maximum payload length (0xFFFFFF), preventing the end-of-message condition from being reached, causing unbounded direct-memory allocation on the client and leading to an out-of-memory crash. This occurs before authentication completes.
The impacted component is io.vertx:vertx-mysql-client.
Attack Parameters
Impact Assessment
CVSS Vector v4.0
Weakness Type (CWE)
Vulnerable Products 3
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Eclipse Vert.X
cpe:2.3:a:eclipse:vert.x:*:*:*:*:*:*:*:*
|
4.5.0
|
4.5.35
|
|
Eclipse Vert.X
cpe:2.3:a:eclipse:vert.x:*:*:*:*:*:*:*:*
|
5.0.0
|
5.1.10
|
|
Eclipse Vert.X
cpe:2.3:a:eclipse:vert.x:5.2.0:*:*:*:*:*:*:*
|
— | — |