CVE-2024-1300
Eclipse Vert.x vulnerable to a memory leak in TCP servers
Description
A vulnerability in the Eclipse Vert.x toolkit causes a memory leak in TCP servers configured with TLS and SNI support. When processing an unknown SNI server name assigned the default certificate instead of a mapped certificate, the SSL context is erroneously cached in the server name map, leading to memory exhaustion. This flaw allows attackers to send TLS client hello messages with fake server names, triggering a JVM out-of-memory error.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| io.vertx » vertx-core | >= 4.3.4, < 4.4.8>= 4.5.0, < 4.5.3 | 4.4.8, 4.5.3 |
Blast radius
27% of the dependent artifacts (788) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 4,710 |
| 2 hops | 9,196 |
| 3 hops | 17,996 |
| 4 hops | 23,500 |
| 5 hops | 17,775 |
| 6 hops | 7,305 |
Most used dependents
- io.quarkus » quarkus-resteasy1,252 usages
- io.quarkus » quarkus-arc-deployment1,078 usages
- io.vertx » vertx-web929 usages
- io.vertx » vertx-unit647 usages
- io.quarkus » quarkus-resteasy-jackson544 usages
- io.vertx » vertx-web-client525 usages
- io.quarkus » quarkus-smallrye-health470 usages
- io.quarkus » quarkus-smallrye-openapi420 usages
- io.quarkus » quarkus-grpc357 usages
- io.vertx » vertx-junit5356 usages
- io.vertx » vertx-rx-java2294 usages
- io.quarkus » quarkus-resteasy-jsonb231 usages
- io.quarkus » quarkus-vertx229 usages
- io.quarkus » quarkus-jackson-deployment214 usages
- io.quarkus » quarkus-vertx-http209 usages
Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2024-1300 | nvd.nist.gov |
| Package | eclipse-vertx/vert.x | github.com |
| Web | eclipse-vertx/vert.x pull request #5101 | github.com |
| Web | eclipse-vertx/vert.x pull request #5100 | github.com |
| Web | eclipse-vertx/vert.x pull request #5099 | github.com |
| Web | eclipse-vertx/vert.x commit 7ad34ea | github.com |
| Web | eclipse-vertx/vert.x commit 3d9235c | github.com |
| Web | docs/vertx-core/java | vertx.io |
| Web | show_bug.cgi | bugzilla.redhat.com |
| Web | security/cve/CVE-2024-1300 | access.redhat.com |
| Web | errata/RHSA-2024:4884 | access.redhat.com |
| Web | errata/RHSA-2024:3989 | access.redhat.com |
| Web | errata/RHSA-2024:3527 | access.redhat.com |
| Web | errata/RHSA-2024:2833 | access.redhat.com |
| Web | errata/RHSA-2024:2088 | access.redhat.com |
| Web | errata/RHSA-2024:1923 | access.redhat.com |
| Web | errata/RHSA-2024:1706 | access.redhat.com |
| Web | errata/RHSA-2024:1662 | access.redhat.com |
