ADVISORIES

GitHub Advisory Database

GHSA-8ffc-79xg-29w8

Apache Cassandra vulnerable to Code Injection due to unsafe configuration

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.cassandra:cassandra-all
All versions before 3.0.26 (fixed in 3.0.26)
Mavenorg.apache.cassandra:cassandra-all
From 3.11.0 before 3.11.12 (fixed in 3.11.12)
Mavenorg.apache.cassandra:cassandra-all
From 4.0.0 before 4.0.2 (fixed in 4.0.2)

References