// For flags

CVE-2021-44521

Remote code execution for scripted UDFs

Severity Score

9.1
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

3
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
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

*Credits: This issue was discovered by Omer Kaspi of the JFrog Security vulnerability research team.
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Medium
Authentication
Single
Confidentiality
Complete
Integrity
Complete
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2021-12-02 CVE Reserved
  • 2022-02-11 CVE Published
  • 2022-02-24 First Exploit
  • 2024-08-04 CVE Updated
  • 2024-08-09 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
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