CVE-2021-44521
highpriority · attend · 66EPSS 0.575 · 99 %ileexploit · PoCEURUUSEPSS · scored 2026-10-24
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.5–9.1
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (2)
Public proof-of-concept and weaponised exploit code.
- WoodenKlaas/CVE-2021-44521Automated PoC of CVE-2021-44521PoC · poc_in_github
- Yeyvo/poc-CVE-2021-44521full PoC of CVE-2021-44521 PoC · poc_in_github
affected products (18)
Products and version ranges known to be affected.
- Maven org.apache.cassandra:cassandra-all3.11.0 → 3.11.12osvUSpkg:maven/org.apache.cassandra/cassandra-all
- Maven org.apache.cassandra:cassandra-all4.0.0 → 4.0.2osvUSpkg:maven/org.apache.cassandra/cassandra-all
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-8ffc-79xg-29w8Apache Cassandra vulnerable to Code Injection due to unsafe configuration2022-02-12ghsa · osvUS
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.
- BIT-cassandra-2021-44521Remote code execution for scripted UDFs2024-03-06vendor · osvUS
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.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (16)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2022/02/11/4cnnvd
- https://access.redhat.com/security/cve/cve-2021-44521cnnvd
- https://jfrog.com/blog/cve-2021-44521-exploiting-apache-cassandra-user-defined-functions-for-remote-code-execution/cnnvd
- https://lists.apache.org/thread/y4nb9s4co34j8hdfmrshyl09lokm7356cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-44521cnnvd
- https://security.netapp.com/advisory/ntap-20220225-0001/cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2022021112cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2022022506cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan