You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Marcus Eriksson <ma...@apache.org> on 2022/02/11 10:03:45 UTC
CVE-2021-44521: Apache Cassandra: Remote code execution for scripted UDFs
Severity: high
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.
This issue is being tracked as CASSANDRA-17352
Mitigation:
Set `enable_user_defined_functions_threads: true` (this is default)
or
3.0 users should upgrade to 3.0.26
3.11 users should upgrade to 3.11.12
4.0 users should upgrade to 4.0.2
Credit:
This issue was discovered by Omer Kaspi of the JFrog Security vulnerability research team.