CVE-2021-44521: vulnerability in Apache Cassandra
Remote code execution for scripted UDFs
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
30Vexday Risk Score
Patch soon. It has a working public exploit.
ssvc Attendepss 59%
What the vendors declare (VEX)
Official vendor statements in CSAF/VEX format: whether their product is affected, already fixed, or ruled out — and why. These are the vendor's assertions, not Vexday's judgment.
Red HatVEX document ↗
Affected
12 products (26 components)
Red Hat OpenShift Container Platform 3.11 · Red Hat Openshift Container Storage 4 · Red Hat Openshift Data Foundation 4 · Red Hat JBoss Enterprise Application Platform 6 · Red Hat JBoss Operations Network 3 · and others 7
none_available: Fix deferred
Not affected
14 products (27 components) — because the vulnerable code is not present in the product
Distributed Tracing Jaeger 1 · Red Hat OpenShift distributed tracing 2 · A-MQ Clients 2 · Red Hat Data Grid 8 · Red Hat Integration Camel K 1 · and others 9
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
Apache Software Foundation · Apache CassandraRelated CVEs — Apache Cassandra
In the same product, most dangerous first.
CVE-2018-8016—CVE-2018-8016EPSS 2.3%CVE-2025-24860MEDIUMApache Cassandra: CassandraNetworkAuthorizer and CassandraCIDRAuthorizer can be bypassed allowing access to different network regionsEPSS 1.1%CVE-2025-23015HIGHApache Cassandra: User with MODIFY permission on ALL KEYSPACES can escalate privileges to superuser via unsafe actionsEPSS 1.0%CVE-2025-26467HIGHApache Cassandra: User with MODIFY permission on ALL KEYSPACES can escalate privileges to superuser via unsafe actions (4.0.16 only)EPSS 0.6%CVE-2026-32588MEDIUMApache Cassandra: Authenticated DoS via ALTER ROLE Password HashingEPSS 0.6%CVE-2023-30601HIGHApache Cassandra: Privilege escalation when enabling FQL/Audit logsEPSS 0.3%
References
https://jfrog.com/blog/cve-2021-44521-exploiting-apache-cassandra-user-defined-functions-for-remote-code-execution/https://lists.apache.org/thread/y4nb9s4co34j8hdfmrshyl09lokm7356https://security.netapp.com/advisory/ntap-20220225-0001/http://www.openwall.com/lists/oss-security/2022/02/11/4