CVE-2021-44521
Apache Cassandra vulnerable to Code Injection due to unsafe configuration
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.
How to fix CVE-2021-44521
To remediate CVE-2021-44521, upgrade the affected package to a fixed version below.
- —upgrade to 3.0.26 or later
- —upgrade to 3.0.26 or later
Is CVE-2021-44521 being exploited?
Likely — EPSS is 91.0%, placing CVE-2021-44521 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (2)
- >= 3.0.0, < 3.0.26, >= 3.11.0, < 3.11.12, >= 4.0.0, < 4.0.2
- from 0, < 3.0.26
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |