9.1

CVE-2021-44521: Remote code execution for scripted UDFs

Modified
AliasesCGA-c7gv-355r-g435CGA-fhjh-rgfj-g3q2CGA-jj49-wmxv-x4p2
Published 11-02-2022Last modified 04-08-2024

Vulnerability summary

CVE-2021-44521 is a critical (CVSS 9.1) Improper Control of Generation of Code vulnerability in apache software foundation apache cassandra. EPSS estimates a 58.90% chance of exploitation in the next 30 days, higher than 99.1% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.1/10
010
Critical · v3.1 (NVD)
EPSS score
58.90%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 11-02-2022
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

58.90%

Chance of exploitation in the next 30 days

Percentile

99%

Versus all other CVEs

30-day change

No change 0.00 pp

From 58.90% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (jfrog.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Apache1 product
  • cassandra≥ 3.0.0, < 3.0.26 | ≥ 3.11.0, < 3.11.12 | ≥ 4.0.0, < 4.0.2
Apache software foundation1 product
  • apache cassandra≥ 3.0.0, < unspecified | ≥ unspecified, < 3.0.26 | ≥ 3.1, < unspecified | ≥ unspecified, < 3.11.12 | ≥ 4.0.0, < unspecified | ≥ unspecified, < 4.0.2
Chainguard1 product
  • druidAll versions (No fix recorded) | < 35.0.1-r1 | < 39.0.0-r0
Org.apache.cassandra1 product
  • cassandra-all< 3.0.26 | ≥ 3.11.0, < 3.11.12 | ≥ 4.0.0, < 4.0.2
Wolfi1 product
  • druidAll versions (No fix recorded) | < 35.0.1-r1 | < 39.0.0-r0

5 vendors · 5 products

References

9 links