Privilege Escalation Affecting org.apache.cassandra:cassandra-all package, versions [4.0.0,4.0.10)[4.1.0,4.1.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHECASSANDRA-5759267
  • published7 Jul 2023
  • disclosed6 Jul 2023
  • creditGal Elbaz at Oligo

Introduced: 6 Jul 2023

CVE-2023-30601  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade org.apache.cassandra:cassandra-all to version 4.0.10, 4.1.2 or higher.

Overview

org.apache.cassandra:cassandra-all is a maven plugin for the Apache Cassandra Project. Which, develops a highly scalable second-generation distributed database, bringing together Dynamo's fully distributed design and Bigtable's ColumnFamily-based data model.

Affected versions of this package are vulnerable to Privilege Escalation when enabling FQL/Audit logs., allowing a 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

This vulnerability requires nodetool/JMX access in order to be exploitable. Disabling access for any non-trusted users can mitigate the attack.

CVSS Scores

version 3.1