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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.cassandra:cassandra-all | < 3.0.26, >= 3.11.0, < 3.11.12, >= 4.0.0, < 4.0.2 | 3.0.26, 3.11.12, 4.0.2 |
Verweise
- https://nvd.nist.gov/vuln/detail/CVE-2021-44521
- https://github.com/apache/cassandra
- https://issues.apache.org/jira/browse/CASSANDRA-17352
- https://jfrog.com/blog/cve-2021-44521-exploiting-apache-cassandra-user-defined-functions-for-remote-code-execution
- https://lists.apache.org/thread/y4nb9s4co34j8hdfmrshyl09lokm7356
- https://security.netapp.com/advisory/ntap-20220225-0001
- http://www.openwall.com/lists/oss-security/2022/02/11/4
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H- Schwäche (CWE)
CWE-732, CWE-94- Plattform
- Java / Kotlin (Maven)
- Paket
org.apache.cassandra:cassandra-all- Veröffentlicht
- 12.02.2022
- Aktualisiert
- 11.10.2026 11:21
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-8ffc-79xg-29w8 - CC BY 4.0
Schwachstellenhistorie: org.apache.cassandra:cassandra-all
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 12
- Erste → letzte
- 05.2021 04.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 2
- Hoch 5
- Mittel 4
- Niedrig 1
Veröffentlichungen pro Jahr
- 2021: 1
- 2022: 3
- 2023: 1
- 2024: 0
- 2025: 4
- 2026: 3
-
Apache Cassandra vulnerable to Code Injection due to unsafe configuration dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.