Remote code execution for scripted UDFs
CVE-2021-44521
Key Information:
- Vendor
Apache
- Status
- Vendor
- CVE Published:
- 11 February 2022
Badges
Key facts
CVE-2021-44521 is a critical severity (CVSS 9.1) vulnerability in Apache Cassandra. It is known to be exploited in the wild. 2 public proof-of-concept exploits are available. Its EPSS score is 58.8%, the estimated probability of exploitation in the next 30 days. Fixed in Apache Cassandra 3.0.26, 3.11.12, 4.0.2.
- Severity
- 9.1CRITICAL
- CVSS base score
- EPSS
- 58.8%
- Chance of exploitation in 30 days
- Exploited
- In the wild
- Since 3 Dec 2022
- CISA KEV
- Not listed
- Ransomware
- Not observed
What is CVE-2021-44521?
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 Version(s)
Apache Cassandra 3.0.0
Apache Cassandra < 3.0.26
Apache Cassandra 3.1
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
More Apache Vulnerabilities
Other Apache vulnerabilities we have analysed in depth, newest first.
Key Exchange Vulnerability in Apache Tomcat Products by Apache
Improper Exception Management in Apache Tomcat Affects Multiple Versions
Deserialization Vulnerability in Apache Roller Affects Multiple Versions
Improper Synchronization Vulnerability in Apache HTTP Server's mod_http2
Deserialization Vulnerability in Apache Axis 1.x Allows Remote Code Execution
Path Traversal Vulnerability in Apache Juneau
Remote Code Execution Vulnerability in Apache MINA Codec Module
SQL Injection Vulnerability in Apache Fineract Affecting Specific API Endpoint
EPSS Score
58% chance of being exploited in the next 30 days.
CVSS V3.1
Timeline
- 🟡
Public PoC available
- 👾
Exploit known to exist
Vulnerability published
Vulnerability Reserved