Breaking News: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-44521

cassandra: RCE for scripted UDFs

Overview

Published
11 Feb 2022
Modified
17 Jun 2026
Critical CVE
2 Registry packages
4 OS packages
4 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

9.1 · CRITICAL

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Weakness: CWE-94, CWE-732

Affected packages · 2

Packages affected by CVE-2021-44521
EcosystemPackageVulnerableFixed in
Bitnami cassandra >=3.0.0, <3.0.26>=3.11.0, <3.11.12>=4.0.0, <4.0.2 3.0.263.11.124.0.2
Maven org.apache.cassandra:cassandra-all <3.0.26>=3.11.0, <3.11.12>=4.0.0, <4.0.2 3.0.263.11.124.0.2

Open a package to see all its vulnerabilities.

Operating systems · 4 fixes

Photon OS 1 release · 1 package

fixed 1
cassandra
Photon OS fixes for CVE-2021-44521
ReleasePackageFixed in
4.0 cassandra 4.0.3-1.ph4

Red Hat 1 release · 1 package

eol 1
opendaylight
Red Hat fixes for CVE-2021-44521
ReleasePackageFixed in
7 opendaylight +1 eol

chainguard 1 release · 1 package

fixed 1
druid
chainguard fixes for CVE-2021-44521
ReleasePackageFixed in
druid 35.0.1-r1

wolfi 1 release · 1 package

fixed 1
druid
wolfi fixes for CVE-2021-44521
ReleasePackageFixed in
druid 35.0.1-r1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.