CVE-2023-45859: Hazelcast Missing Permission Checks On Hazelcast Vulnerability
HIGHCVE-2023-45859 is a HIGH (CVSS 7.6) missing permission checks on hazelcast vulnerability (CWE-922: Insecure Storage of Sensitive Information) affecting Hazelcast libraries in the Maven ecosystem. The issue involves missing permission checks on hazelcast client protocol. Remediation is available by upgrading affected packages to version 5.2.5, 5.3.5.
CVE-2023-45859 at a Glance
Security Impact
CVSS: 7.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L).
How to Fix CVE-2023-45859
To remediate this vulnerability, upgrade all affected Hazelcast dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast</artifactId>
<version>Latest secure release</version>
</dependency>
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast</artifactId>
<version>Latest secure release</version>
</dependency>
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast</artifactId>
<version>Latest secure release</version>
</dependency>
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast</artifactId>
<version>Latest secure release</version>
</dependency>
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast</artifactId>
<version>5.2.5</version>
</dependency>
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast</artifactId>
<version>5.3.5</version>
</dependency>
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast-all</artifactId>
<version>Latest secure release</version>
</dependency>
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast-all</artifactId>
<version>Latest secure release</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.hazelcast
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2023-45859, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.hazelcast
Analyze the terminal output to locate any version of Hazelcast in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.2.5), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.hazelcast command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-922: Insecure Storage of Sensitive Information, where the product stores sensitive information without properly limiting read or write access by unauthorized actors. In Hazelcast, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-45859 Affected Hazelcast Versions
8 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.hazelcast:hazelcast
|
Maven |
≤ 4.1.10
|
|
|
com.hazelcast:hazelcast
|
Maven |
≥ 4.2
≤ 4.2.8
|
|
|
com.hazelcast:hazelcast
|
Maven |
≥ 5.0
≤ 5.0.5
|
|
|
com.hazelcast:hazelcast
|
Maven |
≥ 5.1
≤ 5.1.7
|
|
|
com.hazelcast:hazelcast
|
Maven |
≥ 5.2.0
< 5.2.5
|
5.2.5
|
|
com.hazelcast:hazelcast
|
Maven |
≥ 5.3.0
< 5.3.5
|
5.3.5
|
|
com.hazelcast:hazelcast-all
|
Maven |
≤ 4.1.10
|
|
|
com.hazelcast:hazelcast-all
|
Maven |
≥ 4.2
≤ 4.2.8
|
|
References
Frequently Asked Questions
What is CVE-2023-45859?
Which Hazelcast versions are affected?
What version fixes CVE-2023-45859?
Is hazelcast affected?
Is hazelcast-all affected?
What is the CVSS score of CVE-2023-45859?
What CWE is associated with CVE-2023-45859?
How can I check Maven dependencies for CVE-2023-45859?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xh6m-7cr7-xx66",
"modified" : "2025-05-30T12:36:04Z",
"published" : "2024-02-27T21:54:15Z",
"aliases" : [ "CVE-2023-45859" ],
"summary" : "Missing permission checks on Hazelcast client protocol",
"details" : "### Impact\nIn Hazelcast through 4.1.10, 4.2 through 4.2.8, 5.0 through 5.0.5, 5.1 through 5.1.7, 5.2 through 5.2.4, and 5.3 through 5.3.2, some client operations don't check permissions properly, allowing authenticated users to access data stored in the cluster.\n\n### Patches\nFix versions: 5.2.5, 5.3.5, 5.4.0-BETA-1\n\n### Workarounds\nThere is no known workaround.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.hazelcast:hazelcast"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "4.1.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.hazelcast:hazelcast"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2"
}, {
"last_affected" : "4.2.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.hazelcast:hazelcast"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0"
}, {
"last_affected" : "5.0.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.hazelcast:hazelcast"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.1"
}, {
"last_affected" : "5.1.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.hazelcast:hazelcast"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.2.0"
}, {
"fixed" : "5.2.5"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 5.2.4"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.hazelcast:hazelcast"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.3.0"
}, {
"fixed" : "5.3.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.hazelcast:hazelcast-all"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "4.1.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.hazelcast:hazelcast-all"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2"
}, {
"last_affected" : "4.2.8"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/hazelcast/hazelcast/security/advisories/GHSA-xh6m-7cr7-xx66"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-45859"
}, {
"type" : "WEB",
"url" : "https://github.com/hazelcast/hazelcast/pull/25509"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hazelcast/hazelcast"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-281", "CWE-922" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-27T21:54:15Z",
"nvd_published_at" : "2024-02-28T22:15:26Z"
}
}