Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.vertx/vertx-core
  4. ›
  5. CVE-2018-12541

CVE-2018-12541: Improper Restriction of Operations within the Bounds of a Memory Buffer

October 17, 2018 (updated August 25, 2021)

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.

References

  • github.com/advisories/GHSA-45xm-v8gq-7jqx
  • github.com/eclipse-vertx/vert.x/issues/2648
  • nvd.nist.gov/vuln/detail/CVE-2018-12541

Code Behaviors & Features

Detect and mitigate CVE-2018-12541 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.0 before 3.5.4

Fixed versions

  • 3.5.4

Solution

Upgrade to version 3.5.4 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer

Source file

maven/io.vertx/vertx-core/CVE-2018-12541.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:16 +0000.