Skip to content
Not rated

CVE-2021-44521 When running Apache Cassandra with the following configuration: enable_user_defined_functions: true…

Description

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 products and versions

Product Affected versions Fixed in
Apache Cassandra 4.0 earliest → latest 4.0.2
Apache Cassandra 3.11 earliest → < 3.11.12 3.11.12
Apache Cassandra 3.1 3.1 → latest No fix stated
Apache Cassandra 3.0 earliest → latest 3.0.26

References

Timeline

  1. Published
  2. Last modified
The 10 CVEs of Apache Cassandra →
Track this CVE