GHSA-q2fj-6h62-59m2 Apiman Vert.x Gateway has Transitive Hazelcast connection caching issue
Unauthenticated remote attackers can access and manipulate cluster data by exploiting a connection caching flaw in the transitive Hazelcast dependency.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-q2fj-6h62-59m2?
GHSA-q2fj-6h62-59m2 is an authentication bypass vulnerability in io.apiman:apiman-distro-vertx, published on 30 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Impact
If you are using the Apiman Vert.x Gateway prior to Apiman 3.0.0.Final, a connection caching issue in Hazelcast could allow an unauthenticated, remote attacker to access and manipulate data in the cluster with another authenticated connection's identity.
Hazelcast is a transitive dependency of the Apiman Vert.x Gateway.
The precise risk is difficult to quantify at this juncture as plugins deployed by users may make use of Hazelcast in a different manner to the main Apiman codebase.
If any of your custom Apiman plugins specify Hazelcast dependencies, you should also bump these versions.
Hint: an easy way to track Apiman dependency versions is to use apiman-parent.
If you use the Apiman Tomcat or WildFly Gateway this does not affect you.
Patches
Upgrade to Apiman 3.0.0.Final or later.
If you are using an older version of Apiman and need to remain on that version, contact to your Apiman support provider for advice/long-term support.
Workarounds
None (other than doing your own build).
References
Which versions are affected by GHSA-q2fj-6h62-59m2?
4 open source packages ship an affected version, including io.apiman:apiman-distro-vertx and io.apiman:apiman-gateway-platforms-vertx.
| Package | Affected | Fixed in |
|---|---|---|
io.apiman:apiman-distro-vertx Maven | All versions | 3.0.0.Final |
io.apiman:apiman-distro-vertx Maven | All versions | 3.0.0.Final |
io.apiman:apiman-gateway-platforms-vertx Maven | All versions | 3.0.0.Final |
io.apiman:apiman-gateway-platforms-vertx Maven | All versions | 3.0.0.Final |
How do I fix GHSA-q2fj-6h62-59m2?
Upgrade io.apiman:apiman-distro-vertx to 3.0.0.Final or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is GHSA-q2fj-6h62-59m2 being exploited?
There is no known exploitation of GHSA-q2fj-6h62-59m2 in the wild and no public exploit code.