CVE-2023-33265: Hazelcast Hazelcast Executor Services Don't Check Vulnerability

HIGH
Advisory Identifier: GHSA-c5vj-wp4v-mmvx
CVSS 7.6
CWE-862
Published
Advisory Summary

CVE-2023-33265 is a HIGH (CVSS 7.6) hazelcast executor services don't check vulnerability (CWE-862: Missing Authorization) affecting Hazelcast libraries in the Maven ecosystem. The issue involves hazelcast executor services don't check client permissions properly. Remediation is available by upgrading affected packages to version 5.2.4, 5.1.7, 5.0.5.

CVE-2023-33265 at a Glance

CVE Identifier CVE-2023-33265
GHSA Identifier GHSA-c5vj-wp4v-mmvx
Severity HIGH
CVSS v3.1 Base Score 7.6
CWE Classification CWE-862: Missing Authorization
Affected Product Hazelcast
Package Ecosystem Maven
Published Date
Last Updated

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:L/I:L/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability High (A:H)

How to Fix CVE-2023-33265

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.

com.hazelcast:hazelcast fixed: 5.2.4
<dependency>
    <groupId>com.hazelcast</groupId>
    <artifactId>hazelcast</artifactId>
    <version>5.2.4</version>
</dependency>
com.hazelcast:hazelcast fixed: 5.1.7
<dependency>
    <groupId>com.hazelcast</groupId>
    <artifactId>hazelcast</artifactId>
    <version>5.1.7</version>
</dependency>
com.hazelcast:hazelcast fixed: 5.0.5
<dependency>
    <groupId>com.hazelcast</groupId>
    <artifactId>hazelcast</artifactId>
    <version>5.0.5</version>
</dependency>
com.hazelcast:hazelcast-enterprise fixed: 5.2.4
<dependency>
    <groupId>com.hazelcast</groupId>
    <artifactId>hazelcast-enterprise</artifactId>
    <version>5.2.4</version>
</dependency>
com.hazelcast:hazelcast-enterprise fixed: 5.1.7
<dependency>
    <groupId>com.hazelcast</groupId>
    <artifactId>hazelcast-enterprise</artifactId>
    <version>5.1.7</version>
</dependency>
com.hazelcast:hazelcast-enterprise fixed: 5.0.5
<dependency>
    <groupId>com.hazelcast</groupId>
    <artifactId>hazelcast-enterprise</artifactId>
    <version>5.0.5</version>
</dependency>
Verify Direct and Transitive Dependencies

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-33265, 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.4), 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-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. 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

### Impact In Hazelcast Platform, 5.0 through 5.0.4, 5.1 through 5.1.6, and 5.2 through 5.2.3, and Hazelcast IMDG (all versions up to 4.2.z), Executor Services don't check client permissions properly, allowing authenticated users to execute tasks on members without the required permissions granted. ### Patches Fix versions: 5.3.0, 5.2.4, 5.1.7, 5.0.5 ### Workarounds Users are only affected when they already use executor services (i.e., an instance exists as a distributed data structure).

CVE-2023-33265 Affected Hazelcast Versions

6 component(s)
Fixed Versions:
5.2.45.1.75.0.5
Product / Package Ecosystem Affected Versions Fixed Version
com.hazelcast:hazelcast
Maven
≥ 5.2.0
< 5.2.4
5.2.4
com.hazelcast:hazelcast
Maven
≥ 5.1.0
< 5.1.7
5.1.7
com.hazelcast:hazelcast
Maven
< 5.0.5
5.0.5
com.hazelcast:hazelcast-enterprise
Maven
≥ 5.2.0
< 5.2.4
5.2.4
com.hazelcast:hazelcast-enterprise
Maven
≥ 5.1.0
< 5.1.7
5.1.7
com.hazelcast:hazelcast-enterprise
Maven
< 5.0.5
5.0.5

References

Frequently Asked Questions

What is CVE-2023-33265?
CVE-2023-33265 is a security vulnerability in Hazelcast involving Hazelcast Executor Services don't check client permissions properly under CWE-862: Missing Authorization.
Which Hazelcast versions are affected?
Affected versions include releases prior to 5.2.4, 5.1.7, 5.0.5 across affected packages: com.hazelcast:hazelcast, com.hazelcast:hazelcast-enterprise.
What version fixes CVE-2023-33265?
Upgrading to 5.2.4, 5.1.7, 5.0.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is hazelcast affected?
Yes, com.hazelcast:hazelcast is affected in releases prior to 5.2.4, 5.1.7, 5.0.5. Upgrade your dependency to 5.2.4, 5.1.7, 5.0.5 or later.
Is hazelcast-enterprise affected?
Yes, com.hazelcast:hazelcast-enterprise is affected in releases prior to 5.2.4, 5.1.7, 5.0.5. Upgrade your dependency to 5.2.4, 5.1.7, 5.0.5 or later.
What is the CVSS score of CVE-2023-33265?
CVE-2023-33265 has a CVSS v3.1 base score of 7.6 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H.
What CWE is associated with CVE-2023-33265?
CVE-2023-33265 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Maven dependencies for CVE-2023-33265?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.hazelcast'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-c5vj-wp4v-mmvx",
  "modified" : "2023-07-19T22:08:40Z",
  "published" : "2023-07-19T22:08:40Z",
  "aliases" : [ "CVE-2023-33265" ],
  "summary" : "Hazelcast Executor Services don't check client permissions properly",
  "details" : "### Impact\nIn Hazelcast Platform, 5.0 through 5.0.4, 5.1 through 5.1.6, and 5.2 through 5.2.3, and Hazelcast IMDG (all versions up to 4.2.z), Executor Services don't check client permissions properly, allowing authenticated users to execute tasks on members without the required permissions granted.\n\n### Patches\nFix versions: 5.3.0, 5.2.4, 5.1.7, 5.0.5\n\n### Workarounds\nUsers are only affected when they already use executor services (i.e., an instance exists as a distributed data structure).\n\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.hazelcast:hazelcast"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.2.0"
      }, {
        "fixed" : "5.2.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.2.3"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.hazelcast:hazelcast"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.1.0"
      }, {
        "fixed" : "5.1.7"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.1.6"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.hazelcast:hazelcast"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.0.5"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.0.4"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.hazelcast:hazelcast-enterprise"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.2.0"
      }, {
        "fixed" : "5.2.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.2.3"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.hazelcast:hazelcast-enterprise"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.1.0"
      }, {
        "fixed" : "5.1.7"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.1.6"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.hazelcast:hazelcast-enterprise"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.0.5"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.0.4"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/hazelcast/hazelcast/security/advisories/GHSA-c5vj-wp4v-mmvx"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-33265"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/hazelcast/hazelcast"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hazelcast/hazelcast/releases/tag/v5.0.5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hazelcast/hazelcast/releases/tag/v5.1.7"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hazelcast/hazelcast/releases/tag/v5.2.4"
  }, {
    "type" : "WEB",
    "url" : "https://support.hazelcast.com/s/article/Security-Advisory-for-CVE-2023-33265"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-19T22:08:40Z",
    "nvd_published_at" : "2023-07-18T16:15:11Z"
  }
}