CVE-2021-44521
A public proof of concept exists; no exploitation attested.
- Published2022-02-11
- Fixed in4.0.2 · 3.11.12 · 3.0.26
- WeaknessCWE-732 · CWE-94
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2022-02-1113:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-11-03 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2021-44521?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2021-44521?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.0 | ≥ 4.0.0, < 4.0.2 | 4.0.2 | NVD · OSV |
| 3.11 | ≥ 3.11.0, < 3.11.12 | 3.11.12 | NVD · OSV |
| 3.0 | ≥ 3.0.0, < 3.0.26 | 3.0.26 | NVD · OSV |
| 3.0 | < 3.0.26 | 3.0.26 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- apache-druidMinimOSall versions · fixed in 0and 1 other package
- druidWolfiall versions · fixed in 35.0.1-r1
- druidChainguardall versions · fixed in 35.0.1-r1
- org.apache.cassandra:cassandra-allEcho:Mavenall versions · fixed in 3.0.26
Vendor advisories
cassandra: RCE for scripted UDFs
cassandra as a component of Red Hat Fuse 7 · cassandra as a component of Red Hat JBoss Data Grid 7 · cassandra as a component of Red Hat JBoss Data Virtualization 6 · +23 more
Fix
- Update Apache cassandra to 4.0.2 · 3.11.12 · 3.0.26
- No fix available, says the vendor Red Hat Product Security CVE-2021-44521 · 1 productFix deferred
- No fix planned, says the vendor Red Hat Product Security CVE-2021-44521 · 21 productsOut of support scope
- No fix planned, says the vendor Red Hat Product Security CVE-2021-44521 · 4 productsWill not fix
Advisories and patches
- jfrog.comMitigation
- lists.apache.orgVendor Advisory
Detection
read 2026-11-03 22:42 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- 2 repositories, unverifiedWoodenKlaas/CVE-2021-44521Yeyvo/poc-CVE-2021-44521 PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.19.1read 2026-10-23
- NVDCVSS 2.08.5read 2026-10-23
- CNAweakness (CWE)CWE-94known since 2026-10-23
- NVDweakness (CWE)CWE-732read 2026-10-23
- FIRST EPSSEPSS score58.9 %read 2026-11-03
- PoC-in-GitHubproof of concept2read 2026-11-03
- ProjectDiscoverydetectionread 2026-11-03
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCRITICAL2022-02-23
Identifiers
- BIT-cassandra-2021-44521same flawBitnami · Apache-2.0
- CGA-c7gv-355r-g435same flawChainguard · CC-BY-NC-ND-4.0
- CGA-fhjh-rgfj-g3q2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-jj49-wmxv-x4p2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-pxgj-2w4q-28g2same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2022-0915same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-8ffc-79xg-29w8same flawGitHub Advisory Database · CC-BY-4.0
- MINI-4jjc-74vc-3j6jsame flawMinimOS · LicenseRef-unstated
- MINI-mxmp-hw8g-mq2fsame flawMinimOS · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Published
- 2022-02-11
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-8ffc-79xg-29w8
Frequently asked questions
What is CVE-2021-44521?
Is CVE-2021-44521 actively exploited?
What is the CVSS score for CVE-2021-44521?
Running cassandra? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-8ffc-79xg-29w8
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0