CVE-2021-44521

    Dashboard / Vulnerabilities / CVE-2021-44521

    CVE-2021-44521

    Published: 11 Feb 2022Last Modified: 8 Jul 2026

    Summary:

    Details: 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 packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 96f407bce56b98cd824d18e32ee012dbb99a0286

    Affected versions

    cassandra-3.0.25
    cassandra-3.0.24
    cassandra-3.0.23
    cassandra-3.0.22
    cassandra-3.0.21
    cassandra-3.0.20
    cassandra-3.0.19
    cassandra-3.0.18
    cassandra-3.0.17
    cassandra-3.0.16
    cassandra-3.0.15
    cassandra-3.0.14
    cassandra-3.0.13
    cassandra-3.0.12
    cassandra-3.0.11
    cassandra-3.0.10
    cassandra-3.0.9
    cassandra-3.0.7
    cassandra-3.0.6
    cassandra-3.0.5
    cassandra-3.0.4
    cassandra-3.0.3
    cassandra-3.0.1
    cassandra-3.0.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2021-44521 | CVE-DB