REDHAT-BUG-2263139: Medium severity maven/io.vertx/vertx-core vulnerability
Since Vert.x 4.3.4 that leads to a memory leak when a TCP server is configured with TLS and SNI support: when such server processes an unknown SNI server name, that is a server name that would be assigned the default certificate instead of a server name mapped certificate, the SSL context will be cached in the server name map. This map should only contain server names for which the configuration provides a valid certificate. As a consequence, this can be exploited by client sending TLS client hello message with the server name extension indicating spurious server names and eventually trigger a JVM out of memory error.
This affects only TLS servers with SNI enabled https://vertx.io/docs/vertx-core/java/#servernameindicationsni.
It affects the maven artifact io.vertx:vertx-core versions 4.3.4,4.3.5,4.3.6,4.3.7,4.3.8,4.4.0,4.4.1,4.4.2,4.4.3,4.4.4,4.4.5,4.4.6,4.4.7,4.5.0,4.5.1,4.5.2
https://github.com/eclipse-vertx/vert.x/pull/5101 [Master] https://github.com/eclipse-vertx/vert.x/pull/5100 [4.x] https://github.com/eclipse-vertx/vert.x/pull/5099 [4.3]
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
io.vertx:vertx-coreto a version that resolves this vulnerability.Fixed in 4.3.8 - Upgrade
Upgrade
io.vertx:vertx-coreto a version that resolves this vulnerability.Fixed in 4.4.7 - Upgrade
Upgrade
io.vertx:vertx-coreto a version that resolves this vulnerability.Fixed in 4.5.2
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2263139?
REDHAT-BUG-2263139 is categorized as a medium severity vulnerability due to potential memory leaks.
How do I fix REDHAT-BUG-2263139?
To fix REDHAT-BUG-2263139, upgrade Eclipse Vert.x to version 4.6.0 or later.
What does REDHAT-BUG-2263139 affect?
REDHAT-BUG-2263139 affects Eclipse Vert.x versions between 4.3.4 and 4.6.0 when configured with TLS and SNI.
Is REDHAT-BUG-2263139 related to memory leaks?
Yes, REDHAT-BUG-2263139 results in a memory leak when processing unknown SNI server names.
What is TLS and SNI in the context of REDHAT-BUG-2263139?
TLS is a security protocol for encrypting communications, and SNI is an extension that allows clients to specify the server name they are attempting to connect to.