CVE-2021-44521GHSA-8FFC-79XG-29W8BIT-CASSANDRA-2021-44521
Remote code execution for scripted UDFs
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 3.0.26, 3.11.12, 4.0.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 2 proofs of concept on GitHub, 1 Nuclei template
Summary
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.
Timeline
- CVE published
- Record last updated
- EPSS reached 10%
FIRST estimates at least a 10% chance of exploitation in the next 30 days
Affected versions
- Apache Software Foundation Apache Cassandra
From 3.0.0; fixed in 3.0.26; From 3.1; fixed in 3.11.12; From 4.0.0; fixed in 4.0.2
- org.apache.cassandra:cassandra-allMaven
fixed in 3.0.26
- org.apache.cassandra:cassandra-allMaven
From 3.11.0 · fixed in 3.11.12
- org.apache.cassandra:cassandra-allMaven
From 4.0.0 · fixed in 4.0.2