QID 376427

Date Published: 2022-02-17

QID 376427: Apache Cassandra Remote Code Execution (RCE) Vulnerability

Apache Cassandra is a free and open-source distributed NoSQL database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure.

CVE-2021-44521: 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.

Affected Versions:
Cassandra 3.0.x prior to 3.0.26
Cassandra 3.11.x prior to 3.11.12
Cassandra 4.0.x prior to 4.0.2

QID Detection Logic (Authenticated):
This QID checks vulnerable version of Apache Cassandra using nodetool.

Vulnerability may allow an attacker with enough permissions to create user defined functions in the cluster to be able to exploit and execute arbitrary commands on the target system.

  • CVSS V3 rated as Critical - 9.1 severity.
  • CVSS V2 rated as Critical - 8.5 severity.
  • Solution
    Customers are advised to upgrade to Apache Cassandra 3.0.26, 3.11.12 or 4.0.2 or later versions to remediate this vulnerability.Workaround:
    Set `enable_user_defined_functions_threads: true` (this is default)

    CVEs related to QID 376427

    Software Advisories
    Advisory ID Software Component Link
    CASSANDRA-17352 URL Logo lists.apache.org/thread/y4nb9s4co34j8hdfmrshyl09lokm7356
    © CVE.report 2026 |

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report