Vulnerabilities · 2021 · Apache
CVE-2021-44521
Apache Cassandra vulnerability
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
Cassandra. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Cassandra runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- lists.apache.org/thread/y4nb9s4co34j8hdfmrshyl09lokm7356 · Vendor Advisory
- jfrog.com/blog/cve-2021-44521-exploiting-apache-cassandra-user-defined-functions-for-remot · Exploit
- www.openwall.com/lists/oss-security/2022/02/11/4 · Third Party Advisory
- security.netapp.com/advisory/ntap-20220225-0001/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-44521
- cve.org/CVERecord?id=CVE-2021-44521
More vulnerabilities in Apache products
CVE-2026-47340CVE-2026-44930CVE-2026-44618CVE-2026-44417CVE-2026-42357CVE-2026-41280CVE-2026-32967CVE-2026-32966All 2,699
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.