CVE-2021-44521
cassandra: RCE for scripted UDFs
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, GHSA, Bitnami, Photon OS. Más baja según Red Hat (media).
Descripción
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.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido 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 | sin corrección indicada |
| wolfi | druid | 35.0.1-r1 |
Mostrar las 11 entradas de 10 fuentes
| Fuente | Paquete | Corregido 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 | sin corrección indicada |
| Red Hat | puppet-cassandra | sin corrección indicada |
| wolfi | druid | 35.0.1-r1 |
Referencias
- 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/