NetSight
critical9.1

CVE-2021-44521

Apache Cassandra vulnerable to Code Injection due to unsafe configuration

Impact

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

EcosystemPackageAffectedFixed in
mavenorg.apache.cassandra:cassandra-all< 3.0.263.0.26

Affected products

VendorProductAffected versions
ApacheCassandra
from 3.0.0 before 3.0.26
from 3.11.0 before 3.11.12
from 4.0.0 before 4.0.2

Weakness classification

References