CVE-2021-44521 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://jfrog.com/blog/cve-2021-44521-exploiting-apache-cassandra-user-defined-functions-for-remote-code-execution/ | CVE | ExploitMitigationThird Party Advisory |
| https://lists.apache.org/thread/y4nb9s4co34j8hdfmrshyl09lokm7356 | CVE | Issue TrackingMailing ListVendor Advisory |
| https://security.netapp.com/advisory/ntap-20220225-0001/ | CVE | Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2022/02/11/4 | CVE | Mailing ListThird Party Advisory |
| https://jfrog.com/blog/cve-2021-44521-exploiting-apache-cassandra-user-defined-functions-for-remote-code-execution/ | [email protected] | ExploitMitigationThird Party Advisory |
| https://lists.apache.org/thread/y4nb9s4co34j8hdfmrshyl09lokm7356 | [email protected] | Issue TrackingMailing ListVendor Advisory |
| https://security.netapp.com/advisory/ntap-20220225-0001/ | [email protected] | Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2022/02/11/4 | [email protected] | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-732 | Incorrect Permission Assignment for Critical Resource | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache cassandra | >= 3.0.0, < 3.0.26 >= 3.11.0, < 3.11.12 >= 4.0.0, < 4.0.2 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 9, 2022 | Reanalysis | [email protected] |
| Mar 29, 2022 | Modified Analysis | [email protected] |
| Feb 25, 2022 | CVE Modified | [email protected] |
| Feb 18, 2022 | Initial Analysis | [email protected] |
| Feb 16, 2022 | CVE Modified | [email protected] |
| Feb 11, 2022 | CVE Modified | [email protected] |