CVE-2025-23015
Apache Cassandra: User with MODIFY permission on ALL KEYSPACES can escalate privileges to superuser via unsafe actions
Description
Privilege Defined With Unsafe Actions vulnerability in Apache Cassandra. An user with MODIFY permission ON ALL KEYSPACES can escalate privileges to superuser within a targeted Cassandra cluster via unsafe actions to a system resource. Operators granting data MODIFY permission on all keyspaces on affected versions should review data access rules for potential breaches.
This issue affects Apache Cassandra through 3.0.30, 3.11.17, 4.0.15, 4.1.7, 5.0.2.
Users are recommended to upgrade to versions 3.0.31, 3.11.18, 4.0.16, 4.1.8, 5.0.3, which fixes the issue.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.cassandra » cassandra-all | < 3.0.31>= 3.1, < 3.11.18>= 4.0-alpha1, < 4.0.16>= 4.1-alpha1, < 4.1.8>= 5.0-alpha1, < 5.0.3 | 3.0.31, 3.11.18, 4.0.16, 4.1.8, 5.0.3 |
Blast radius
61% of the dependent artifacts (621) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 7,103 |
| 2 hops | 10,573 |
| 3 hops | 5,847 |
| 4 hops | 3,276 |
| 5 hops | 767 |
| 6 hops | 211 |
Most used dependents
- org.cassandraunit » cassandra-unit194 usages
- org.opennms.core.test-api » org.opennms.core.test-api.services116 usages
- org.opennms » opennms-test110 usages
- org.opennms.core.test-api » org.opennms.core.test-api.db102 usages
- org.modeshape » modeshape-jcr93 usages
- org.opennms » opennms-config91 usages
- org.hectorclient » hector-core83 usages
- org.opennms » opennms-services76 usages
- org.opennms.features.collection » org.opennms.features.collection.persistence.rrd64 usages
- com.twitter » ostrich59 usages
- org.gcube.portal » social-networking-library55 usages
- com.netflix.zuul » zuul-core55 usages
- com.spinn3r.artemis.test » artemis-test52 usages
- org.opennms.core » org.opennms.core.daemon49 usages
- org.hectorclient.wso2 » hector-core48 usages
Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2025-23015 | nvd.nist.gov |
| Package | apache/cassandra | github.com |
| Web | apache/cassandra commit 6207a30 | github.com |
| Web | apache/cassandra commit f33267c | github.com |
| Web | thread/jmks4msbgkl65ssg69x728sv1m0hwz3s | lists.apache.org |
| Web | advisory/ntap-20250214-0006 | security.netapp.com |
| Web | lists/oss-security/2025/02/03/2 | openwall.com |
| Web | lists/oss-security/2025/02/11/1 | openwall.com |
