CVE-2021-44521
cassandra: RCE for scripted UDFs
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA, Bitnami, Photon OS. Plus basse selon Red Hat (moyenne).
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| 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 | pas de correctif indiqué |
| wolfi | druid | 35.0.1-r1 |
Afficher les 11 entrées de 10 sources
| Source | Paquet | Corrigé en |
|---|---|---|
| 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 | pas de correctif indiqué |
| Red Hat | puppet-cassandra | pas de correctif indiqué |
| wolfi | druid | 35.0.1-r1 |
Références
- 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/