Black Friday60% off BLACKFRIDAY2026
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Product Based Web Vulnerabilities·Updated Jan 3, 2024

CVE-2021-44521 Scanner

Detects 'Remote Code Execution (RCE)' vulnerability in Apache Cassandra affects v. from 3.0.0 before 3.0.26, from 3.1 before 3.11.12, from 4.0.0 before 4.0.2,.

How to fix it
Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, ipv4, subdomain
CostFree
0
Times Used
continuous scan runs
10
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
9.1
CVSS
Description

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.

Attack Vector
-
Privileges Req.
-
User Interaction
-
Affected
Apache Cassandraby Apache Software Foundation
AFFECTED< unspecified→SAFE ✓≥ unspecified
Updated Nov 15, 2026View on NVD →
Detail

Apache Cassandra is a highly performant, distributed database management system designed to handle large amounts of data across many commodity servers. It is used by businesses across the world to store and manage data, particularly in applications where continuous availability, horizontal scaling, and fault tolerance are needed. One of the key benefits of Cassandra is its ability to seamlessly handle high write and read workloads without sacrificing performance. It is an open-source product used widely in production environments.

CVE-2021-44521 is a vulnerability that has recently been found in Apache Cassandra. The vulnerability is due to the configuration of the product, specifically the enable_user_defined_functions setting. If this setting is enabled, an attacker with sufficient privileges could exploit it to execute arbitrary code on the host. It is important to understand that this configuration is documented as unsafe and is not recommended for use. However, if a user has enabled the setting, they may be at risk.

When exploited, the vulnerability can lead to significant damage to both the system and its data. An attacker could use the vulnerability to execute malicious code, which may lead to data breaches or disruptions in service. Additionally, they could use the vulnerability to gain unauthorized access to the system and its data. By exploiting this vulnerability, an attacker could cause irreparable damage to the system and its users.

In summary, the CVE-2021-44521 vulnerability found in Apache Cassandra is a significant risk to its users. Under certain conditions, an attacker could exploit this vulnerability to execute arbitrary code and gain unauthorized system access. However, with the right precautions in place, users can mitigate the risk of a successful attack. By using the pro features of the s4e.io platform, users can easily and quickly identify vulnerabilities in their digital assets, such as Apache Cassandra, and take appropriate action to protect their systems.

 

REFERENCES

Solution Advice

To protect against the CVE-2021-44521 vulnerability in Apache Cassandra, it is recommended to implement the following measures: 

  • Disable the 'enable_scripted_user_defined_functions' and 'enable_user_defined_functions_threads' configuration flags to prevent the exploitation of the vulnerability.
  • Monitor and restrict the permissions granted to users who can create user-defined functions on the system.
  • Ensure that the system is updated with the latest patches and security updates to mitigate known vulnerabilities and risks.
  • Implement network security measures such as firewalls, intrusion detection systems, and network segmentation to prevent unauthorized access to the system.
  • Conduct regular security assessments and penetration testing to identify and remediate any vulnerabilities found in the system proactively.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.

Browse All Tools