VDB
Sign up
CRITICAL9.1

GHSA-8ffc-79xg-29w8

Apache Cassandra vulnerable to Code Injection due to unsafe configuration

Quick fix

GHSA-8ffc-79xg-29w8 — org.apache.cassandra:cassandra-all: upgrade to the fixed version with the command below.

# pom.xml: bump <version>3.0.26</version> for org.apache.cassandra:cassandra-all

Details

When running Apache Cassandra with the following configuration: enable_user_defined_functions: true enable_scripted_user_defined_functions: true enable_user_defined_functions_threads: false it is possible for an attacker to execute arbitrary code on the host. The attacker would need to have enough permissions to create user defined functions in the cluster to be able to exploit this. Note that this configuration is documented as unsafe, and will continue to be considered unsafe after this CVE.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.cassandra:cassandra-all
Introduced in: 0Fixed in: 3.0.26
Fix# pom.xml: bump <version>3.0.26</version> for org.apache.cassandra:cassandra-all
Maven/org.apache.cassandra:cassandra-all
Introduced in: 3.11.0Fixed in: 3.11.12
Fix# pom.xml: bump <version>3.11.12</version> for org.apache.cassandra:cassandra-all
Maven/org.apache.cassandra:cassandra-all
Introduced in: 4.0.0Fixed in: 4.0.2
Fix# pom.xml: bump <version>4.0.2</version> for org.apache.cassandra:cassandra-all

References