CVE-2021-44521
cassandra: RCE for scripted UDFs
Kaynağa göre önem derecesi
Trivy'nin kendi etiketi CRITICAL. Kritik diyenler: NVD, GHSA, Bitnami, Photon OS. Daha düşük diyenler: Red Hat (orta).
Açıklama
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.
Etkilenen paketler ve düzeltilmiş sürümler
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| 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 | düzeltme belirtilmemiş |
| wolfi | druid | 35.0.1-r1 |
10 kaynaktaki 11 kaydın hepsini göster
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| 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 | düzeltme belirtilmemiş |
| Red Hat | puppet-cassandra | düzeltme belirtilmemiş |
| wolfi | druid | 35.0.1-r1 |
Referanslar
- 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/