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
- 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.
What to do
- Apply the vendor's security update for Cassandra.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| apache | cassandra | ≥ 3.0.0 < 3.0.26 |
| apache | cassandra | ≥ 3.11.0 < 3.11.12 |
| apache | cassandra | ≥ 4.0.0 < 4.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- jfrog.com Exploit Mitigation Third Party Advisory
- lists.apache.org Issue Tracking Mailing List Vendor Advisory
- security.netapp.com Third Party Advisory