CVE-2024-27137
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceLocal attacker manipulates the RMI registry to perform man-in-the-middle attack on JMX authentication in Apache Cassandra, capturing usernames and passwords. Affects versions 4.0.2 through 5.0.2 running Java 11. This is a regression of CVE-2020-13946 where the Java option was changed in JDK10.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 4.0.2, < 4.0.15>= 4.1.0, < 4.1.8> 5.0.0, < 5.0.3= 5.0.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check installed Apache Cassandra versionRun `cassandra -v` or examine the version file in the Cassandra installation directory, or query `SELECT * FROM system.local` via cqlsh and check the 'cql_version' or 'cassandra_version' fieldsAffected if Version is >= 4.0.2 and < 4.0.15, OR >= 4.1.0 and < 4.1.8, OR > 5.0.0 and < 5.0.3, OR equals 5.0.0
-
Check Java version in use by CassandraRun `java -version` from the same user running Cassandra, or check the JAVA_HOME environment variable, or examine the Java version in cassandra-env.sh or the startup scriptsAffected if Java 11 is in use (the vulnerability affects systems running Java 11)
-
Verify if JMX is enabled and accessibleCheck the cassandra-env.sh or jvm.options files for JMX configuration, look for flags like `-Dcom.sun.management.jmxremote` and verify if JMX listens on a network interface other than localhost. Also check if port 7199 (default JMX port) is listening on a non-localhost address using `netstat -tlnp` or `ss -tlnp`Affected if JMX is enabled and bound to a network interface accessible from untrusted networks (not bound to 127.0.0.1 only)
The environment is affected if Apache Cassandra version falls within the vulnerable ranges (4.0.2-4.0.14, 4.1.0-4.1.7, 5.0.0-5.0.2) AND Java 11 is in use AND JMX with RMI is exposed over the network.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped4.0.154.1.85.0.3
Upgrade Apache Cassandra to version 4.0.15, 4.1.8, 5.0.3 or later to obtain the security fix.
4.0.15, 4.1.8, or 5.0.3 (or later)
- Review the release notes for your target version (4.0.15, 4.1.8, or 5.0.3 or later) to understand any changes
- Backup your Cassandra data and configuration files
- Stop the Cassandra service
- Install the new Cassandra version (4.0.15+, 4.1.8+, or 5.0.3+)
- Verify the cassandra.yaml configuration is compatible
- Start the Cassandra service
- Verify the JMX interface is accessible and the fix is applied by testing JMX authentication
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation8.0 h
- Implementation12.0 h
- Testing8.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $9,088.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-27137 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-27137 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data