CVE-2025-24860: Apache Cassandra CassandraNetworkAuthorizer And CassandraCIDRAuthorizer Can Be Vulnerability
MODERATECVE-2025-24860 is a MODERATE (CVSS 5.4) cassandranetworkauthorizer and cassandracidrauthorizer can be vulnerability (CWE-863: Incorrect Authorization) affecting Apache Cassandra libraries in the Maven ecosystem. The issue involves cassandranetworkauthorizer and cassandracidrauthorizer can be bypassed allowing access to different network regions. Remediation is available by upgrading affected packages to version 4.0.16, 4.1.8, 5.0.3.
CVE-2025-24860 at a Glance
Security Impact
CVSS: 5.4
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:N).
How to Fix CVE-2025-24860
To remediate this vulnerability, upgrade all affected Apache Cassandra 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>org.apache.cassandra</groupId>
<artifactId>cassandra-all</artifactId>
<version>4.0.16</version>
</dependency>
<dependency>
<groupId>org.apache.cassandra</groupId>
<artifactId>cassandra-all</artifactId>
<version>4.1.8</version>
</dependency>
<dependency>
<groupId>org.apache.cassandra</groupId>
<artifactId>cassandra-all</artifactId>
<version>5.0.3</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.cassandra
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-24860, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.cassandra
Analyze the terminal output to locate any version of Apache Cassandra in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.16), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.cassandra 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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Apache Cassandra, 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-2025-24860 Affected Apache Cassandra Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.cassandra:cassandra-all
|
Maven |
≥ 4.0-alpha1
< 4.0.16
|
4.0.16
|
|
org.apache.cassandra:cassandra-all
|
Maven |
≥ 4.1-alpha1
< 4.1.8
|
4.1.8
|
|
org.apache.cassandra:cassandra-all
|
Maven |
≥ 5.0-alpha1
< 5.0.3
|
5.0.3
|
References
Frequently Asked Questions
What is CVE-2025-24860?
Which Apache Cassandra versions are affected?
What version fixes CVE-2025-24860?
Is cassandra-all affected?
What is the CVSS score of CVE-2025-24860?
What CWE is associated with CVE-2025-24860?
How can I check Maven dependencies for CVE-2025-24860?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3cjf-fwcq-xh22",
"modified" : "2025-02-18T22:31:50Z",
"published" : "2025-02-04T12:30:59Z",
"aliases" : [ "CVE-2025-24860" ],
"summary" : "Apache Cassandra: CassandraNetworkAuthorizer and CassandraCIDRAuthorizer can be bypassed allowing access to different network regions",
"details" : "Incorrect Authorization vulnerability in Apache Cassandra allowing users to access a datacenter or IP/CIDR groups they should not be able to when using CassandraNetworkAuthorizer or CassandraCIDRAuthorizer. \n\nUsers with restricted data center access can update their own permissions via data control language (DCL) statements on affected versions.\n\nThis issue affects Apache Cassandra: from 4.0.0 through 4.0.15 and from 4.1.0 through 4.1.7 for CassandraNetworkAuthorizer, and from 5.0.0 through 5.0.2 for both CassandraNetworkAuthorizer and CassandraCIDRAuthorizer.\n\nOperators using CassandraNetworkAuthorizer or CassandraCIDRAuthorizer on affected versions should review data access rules for potential breaches. Users are recommended to upgrade to versions 4.0.16, 4.1.8, 5.0.3, which fixes the issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.cassandra:cassandra-all"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0-alpha1"
}, {
"fixed" : "4.0.16"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.cassandra:cassandra-all"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.1-alpha1"
}, {
"fixed" : "4.1.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.cassandra:cassandra-all"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0-alpha1"
}, {
"fixed" : "5.0.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-24860"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/cassandra"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/yjo5on4tf7s1r9qklc4byrz30b8vkm2d"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20250214-0005"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/02/03/3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-02-04T18:39:39Z",
"nvd_published_at" : "2025-02-04T11:15:09Z"
}
}