GitHub Advisoryadvisory · Maven

GHSA-45xm-v8gq-7jqx Excessive memory allocation

MEDIUM Published 2018-10-17 Modified 2022-04-25 Official page ↗
Aliases
CVE-2018-12541
Ecosystem
Maven
Packages
io.vertx:vertx-core
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-119, CWE-789
Reviewed
2020-06-16

Affected packages

• Maven io.vertx:vertx-core: >= 3.0.0, < 3.5.4 → fixed in 3.5.4

Description

In version from 3.0.0 to 3.5.3 of Eclipse Vert.x, the WebSocket HTTP upgrade implementation buffers the full http request before doing the handshake, holding the entire request body in memory. There should be a reasonnable limit (8192 bytes) above which the WebSocket gets an HTTP response with the 413 status code and the connection gets closed.

Related

Alias · CVE (1)

  • CVE-2018-12541 In version from 3.0.0 to 3.5.3 of Eclipse Vert.x, the WebSocket HTTP upgrade implementation buffers the full http request before doing the… vulnerability

Weakness · CWE (2)

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
  • CWE-789 Memory Allocation with Excessive Size Value weakness

References