CVE-2021-44521
cassandra: RCE for scripted UDFs
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA, Bitnami, Photon OS. Niedriger laut Red Hat (mittel).
Beschreibung
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 Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | cassandra | 3.0.26, 3.11.12, 4.0.2 |
| maven::GitHub Security Advisory Maven | org.apache.cassandra:cassandra-all | 3.0.26, 3.11.12, 4.0.2 |
| Photon OS 1.0 | cassandra | 3.11.12-1.ph1 |
| Photon OS 2.0 | cassandra | 3.11.12-1.ph2 |
| Photon OS 3.0 | cassandra | 3.11.12-1.ph3 |
| Photon OS 4.0 | cassandra | 4.0.3-1.ph4 |
| chainguard | druid | 35.0.1-r1 |
| echo maven::Echo OSV | org.apache.cassandra:cassandra-all | 3.0.26 |
| Red Hat | opendaylight, puppet-cassandra | kein Fix angegeben |
| wolfi | druid | 35.0.1-r1 |
Alle 11 Einträge aus 10 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | cassandra | 3.0.26, 3.11.12, 4.0.2 |
| maven::GitHub Security Advisory Maven | org.apache.cassandra:cassandra-all | 3.0.26, 3.11.12, 4.0.2 |
| Photon OS 1.0 | cassandra | 3.11.12-1.ph1 |
| Photon OS 2.0 | cassandra | 3.11.12-1.ph2 |
| Photon OS 3.0 | cassandra | 3.11.12-1.ph3 |
| Photon OS 4.0 | cassandra | 4.0.3-1.ph4 |
| chainguard | druid | 35.0.1-r1 |
| echo maven::Echo OSV | org.apache.cassandra:cassandra-all | 3.0.26 |
| Red Hat | opendaylight | kein Fix angegeben |
| Red Hat | puppet-cassandra | kein Fix angegeben |
| wolfi | druid | 35.0.1-r1 |
Referenzen
- http://www.openwall.com/lists/oss-security/2022/02/11/4
- https://access.redhat.com/security/cve/CVE-2021-44521
- https://advisory.echohq.com/cve/CVE-2021-44521
- https://github.com/advisories/GHSA-8ffc-79xg-29w8
- 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://jfrog.com/blog/cve-2021-44521-exploiting-apache-cassandra-user-defined-functions-for-remote-code-execution/