CVE-2021-44521

published 11 Feb 2022 · updated 4 Aug 2024

Remote code execution for scripted UDFs

7.0HighEPSS 59%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 59%. Fixed in 3.0.26, 3.11.12, 4.0.2 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation<3.0.26, <3.11.12, <4.0.2, >=3.0.0 <unspecified, >=3.1 <unspecified, >=4.0.0 <unspecified3.0.26, 3.11.12, 4.0.2, unspecified

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-44521 severity on Zeptric[![CVE-2021-44521](https://zeptric.io/badge/cve/CVE-2021-44521.svg)](https://zeptric.io/cve/CVE-2021-44521)