CVE-2018-12541
The Eclipse Foundation Eclipse Vert.x: Memory Allocation with Excessive Size Value
Check your servers for CVE-2018-12541
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2018-12541 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 2.65%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 86.4% of all scored CVEs. Scores of 27 Nov 2026.
Weakness
- CWE-789 Memory Allocation with Excessive Size Value
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Eclipse Vert.x |
affected from 3.0, before unspecified affected up to and including 3.5.3
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2018-12541 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2018-12541RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2018-12541Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2018-12541
trivy image --scanners vuln IMAGE | grep CVE-2018-12541
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=539170 bugs.eclipse.org
- https://github.com/eclipse-vertx/vert.x/issues/2648 github.com
- RHSA-2018:2946 access.redhat.com · vendor advisory
Other references
- [pulsar-commits] 20201215 [GitHub] [pulsar] yanshuchong opened a new issue #8967: CVSS issue list lists.apache.org · mailing list
- [pulsar-commits] 20210419 [GitHub] [pulsar] lhotari commented on pull request #10261: [Security] Upgrade vertx to… lists.apache.org · mailing list
- [bookkeeper-issues] 20210419 [GitHub] [bookkeeper] lhotari opened a new pull request #2693: [Security] Upgrade vertx… lists.apache.org · mailing list
- [pulsar-commits] 20210419 [GitHub] [pulsar] lhotari opened a new pull request #10261: [Security] Upgrade vertx to… lists.apache.org · mailing list
- [pulsar-commits] 20210419 [pulsar] branch master updated: [Security] Upgrade vertx to 3.9.7, addresses… lists.apache.org · mailing list
- [pulsar-commits] 20210419 [GitHub] [pulsar] lhotari edited a comment on pull request #10261: [Security] Upgrade… lists.apache.org · mailing list
- [pulsar-commits] 20210419 [GitHub] [pulsar] eolivelli merged pull request #10261: [Security] Upgrade vertx to 3.9.7… lists.apache.org · mailing list
- [bookkeeper-issues] 20210421 [GitHub] [bookkeeper] lhotari commented on pull request #2693: [Security] Upgrade vertx… lists.apache.org · mailing list
- [bookkeeper-issues] 20210507 [GitHub] [bookkeeper] dlg99 commented on pull request #2693: [Security] Upgrade vertx… lists.apache.org · mailing list
- [pulsar-commits] 20210513 [pulsar] 30/46: [Security] Upgrade vertx to 3.9.7, addresses CVE-2018-12541 (#10261) lists.apache.org · mailing list
- [bookkeeper-issues] 20210618 [GitHub] [bookkeeper] lhotari commented on pull request #2693: [Security] Upgrade vertx… lists.apache.org · mailing list
- [bookkeeper-issues] 20210623 [GitHub] [bookkeeper] sijie merged pull request #2693: [Security] Upgrade vertx to… lists.apache.org · mailing list
- [bookkeeper-commits] 20210817 [bookkeeper] 01/03: [Security] Upgrade vertx to 3.9.8, addresses CVE-2018-12541 (#2693) lists.apache.org · mailing list
Source: the record CVE-2018-12541 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse