Live threats
VulnFox

All CVEs / Apache

CVE-2021-44521Apache Cassandra

Critical 9.1

Priority
55
CVSS 3.1
9.1
EPSS
—
Auth required
Yes
Published
Feb 11, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94, CWE-732
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cassandra.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.cassandra:cassandra-all < 3.0.26 3.0.26 —
Maven org.apache.cassandra:cassandra-all ≥ 3.11.0 < 3.11.12 3.11.12 —
Maven org.apache.cassandra:cassandra-all ≥ 4.0.0 < 4.0.2 4.0.2 —

Per OSV / GitHub Advisories (GHSA-8ffc-79xg-29w8). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachecassandra≥ 3.0.0 < 3.0.26
apachecassandra≥ 3.11.0 < 3.11.12
apachecassandra≥ 4.0.0 < 4.0.2

Official sources

References

Links published by the sources. Open them with care.