Description
Incorrect Authorization vulnerability in Apache Cassandra allowing users to access a datacenter or IP/CIDR groups they should not be able to when using CassandraNetworkAuthorizer or CassandraCIDRAuthorizer.
Users with restricted data center access can update their own permissions via data control language (DCL) statements on affected versions.
This issue affects Apache Cassandra: from 4.0.0 through 4.0.15 and from 4.1.0 through 4.1.7 for CassandraNetworkAuthorizer, and from 5.0.0 through 5.0.2 for both CassandraNetworkAuthorizer and CassandraCIDRAuthorizer.
Operators using CassandraNetworkAuthorizer or CassandraCIDRAuthorizer on affected versions should review data access rules for potential breaches. Users are recommended to upgrade to versions 4.0.16, 4.1.8, 5.0.3, which fixes the issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Cassandra | 4.0.0 – ≤ 4.0.15, 4.1.0 – ≤ 4.1.7, 5.0.0 – ≤ 5.0.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | cassandra | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | cassandra | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.cassandra:cassandra-all | >= 4.0-alpha1, < 4.0.16 | 4.0.16 | GHSA-3cjf-fwcq-xh22 |
| Maven | org.apache.cassandra:cassandra-all | >= 4.1-alpha1, < 4.1.8 | 4.1.8 | GHSA-3cjf-fwcq-xh22 |
| Maven | org.apache.cassandra:cassandra-all | >= 5.0-alpha1, < 5.0.3 | 5.0.3 | GHSA-3cjf-fwcq-xh22 |
Advisories 1
- WID-SEC-2025-0258 Apache Cassandra: Mehrere Schwachstellen. BSI CERT-Bund (WID) · Feb 4, 2025
References
- https://lists.apache.org/thread/yjo5on4tf7s1r9qklc4byrz30b8vkm2d vendor-advisory