RCE in client/member error handling
Description
Java clients and cluster members fail to validate protocol errors properly in some situations, allowing remote code execution (RCE) if spoofed into connecting to a malicious member. In Kubernetes environments, this may also allow theft of service account tokens.
Resolution
Enterprise customers should upgrade to a fixed version of Hazelcast Enterprise Edition:
- 5.7.1
- 5.6.2
- 5.5.10
- 5.4.5
Management Center users should update to 5.11.1.
Customers who have purchased an extension to their Support Services beyond the standard subscription term should contact Hazelcast Support for information on patches for older versions.
Community Edition users should upgrade to 5.7.0. This fixes the RCE risk. Further hardening will be in the next Community Edition release.
Workarounds
If a fixed version cannot be applied immediately, restrict egress traffic from members and clients to limit the impact. Enabling TLS between clients and members will also significantly reduce the risk of exploitation.
Affected versions
- com.hazelcast:hazelcastfixed in 5.4.5
- com.hazelcast:hazelcastFrom 5.5.0 · fixed in 5.5.10
- com.hazelcast:hazelcastFrom 5.6.0 · fixed in 5.6.2
- com.hazelcast:hazelcast-enterprisefixed in 5.4.5
- com.hazelcast:hazelcast-enterpriseFrom 5.5.0 · fixed in 5.5.10
- com.hazelcast:hazelcast-enterpriseFrom 5.6.0 · fixed in 5.6.2
- com.hazelcast:management-centerfixed in 5.11.1