CVE-2023-30601
Apache Cassandra: Privilege escalation when enabling FQL/Audit logs
Description
Privilege escalation when enabling FQL/Audit logs allows user with JMX access to run arbitrary commands as the user running Apache Cassandra This issue affects Apache Cassandra: from 4.0.0 through 4.0.9, from 4.1.0 through 4.1.1.
WORKAROUND The vulnerability requires nodetool/JMX access to be exploitable, disable access for any non-trusted users.
MITIGATION Upgrade to 4.0.10 or 4.1.2 and leave the new FQL/Auditlog configuration property allow_nodetool_archive_command as false.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.cassandra » cassandra-all | >= 4.0.0, < 4.0.10>= 4.1.0, < 4.1.2 | 4.0.10, 4.1.2 |
Blast radius
50% of the dependent artifacts (8) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 370 |
| 2 hops | 49 |
Most used dependents
- com.netflix.priam » priam4 usages
- org.openidentityplatform.openam » openam-cassandra-embedded2 usages
- io.stargate.cql » cql1 usages
- com.netflix.priam » priam-cass-extensions1 usages
- com.netflix.priam » priam-dse-extensions1 usages
- io.github.btjfsu » cassandra-unit1 usages
- org.locationtech.geowave » geowave-cli-cassandra-embed1 usages
- io.debezium » debezium-connector-cassandra-40 usages
- io.stargate.db.cassandra » persistence-cassandra-4.00 usages
- io.stargate.it » testing0 usages
- org.apache.hop » hop-plugins-tech-cassandra0 usages
- io.qalipsis.plugin » qalipsis-plugin-cassandra0 usages
- io.github.btjfsu » cassandra-unit-spring0 usages
- org.jesterj » jesterj-ingest0 usages
- org.locationtech.geowave » geowave-test0 usages
Computed from the dependency graph of build 20261205.2030 (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-2023-30601 | nvd.nist.gov |
| Package | apache/cassandra | github.com |
| Web | apache/cassandra commit 22d74c7 | github.com |
| Web | apache/cassandra commit aafb4d1 | github.com |
| Web | jira/browse/CASSANDRA-18550 | issues.apache.org |
| Web | thread/f74p9jdhmmp7vtrqd8lgm8bq3dhxl8vn | lists.apache.org |
