CVE-2021-44521
Remote code execution for scripted UDFs
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
3Exploited in Wild
-Decision
Descriptions
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.
Cuando es ejecutado Apache Cassandra con la siguiente configuración: enable_user_defined_functions: true enable_scripted_user_defined_functions: true enable_user_defined_functions_threads: false es posible que un atacante ejecute código arbitrario en el host. El atacante necesitaría tener suficientes permisos para crear funciones definidas por el usuario en el cluster para poder explotar esto. Tenga en cuenta que esta configuración está documentada como no segura, y seguirá siendo considerada no segura después de esta CVE
CVSS Scores
SSVC
- Decision:-
Timeline
- 2021-12-02 CVE Reserved
- 2022-02-11 CVE Published
- 2022-02-24 First Exploit
- 2024-08-04 CVE Updated
- 2024-10-27 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-94: Improper Control of Generation of Code ('Code Injection')
- CWE-732: Incorrect Permission Assignment for Critical Resource
CAPEC
References (6)
URL | Tag | Source |
---|---|---|
http://www.openwall.com/lists/oss-security/2022/02/11/4 | Mailing List | |
https://security.netapp.com/advisory/ntap-20220225-0001 | Third Party Advisory |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://lists.apache.org/thread/y4nb9s4co34j8hdfmrshyl09lokm7356 | 2022-08-09 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Apache Search vendor "Apache" | Cassandra Search vendor "Apache" for product "Cassandra" | >= 3.0.0 < 3.0.26 Search vendor "Apache" for product "Cassandra" and version " >= 3.0.0 < 3.0.26" | - |
Affected
| ||||||
Apache Search vendor "Apache" | Cassandra Search vendor "Apache" for product "Cassandra" | >= 3.11.0 < 3.11.12 Search vendor "Apache" for product "Cassandra" and version " >= 3.11.0 < 3.11.12" | - |
Affected
| ||||||
Apache Search vendor "Apache" | Cassandra Search vendor "Apache" for product "Cassandra" | >= 4.0.0 < 4.0.2 Search vendor "Apache" for product "Cassandra" and version " >= 4.0.0 < 4.0.2" | - |
Affected
|