Security mailing lists by PureSourceCode

CVE-2021-44521

CRITICAL 9.1CVSS 3.1

Apache Cassandra vulnerable to Code Injection due to unsafe configuration

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.

Published
11 Feb 2022
Last modified
17 Jun 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-732CWE-94
Also known as
BIT-cassandra-2021-44521GHSA-8ffc-79xg-29w8
Sources
NVDJSONOSV GHSA-8ffc-79xg-29w8JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 8.5 AV:N/AC:M/Au:S/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache cassandra
cpe:2.3:a:apache:cassandra:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.0.26 3.0.26
NVD apache cassandra
cpe:2.3:a:apache:cassandra:*:*:*:*:*:*:*:*
>= 3.11.0, < 3.11.12 3.11.12
NVD apache cassandra
cpe:2.3:a:apache:cassandra:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.0.2 4.0.2
OSV Maven org.apache.cassandra:cassandra-all < 3.0.26 3.0.26
OSV Maven org.apache.cassandra:cassandra-all >= 3.11.0, < 3.11.12 3.11.12
OSV Maven org.apache.cassandra:cassandra-all >= 4.0.0, < 4.0.2 4.0.2

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 11 Feb 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Feb 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.