CVE-2018-8016:
Missing Authentication for Critical Function in Apache Cassandra
9.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.69658%
CWE
Published
5/13/2022
Updated
3/4/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.cassandra:cassandra-all | maven | >= 3.8, <= 3.11.1 | 3.11.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from how JMXServerUtils programmatically configured the JMX/RMI server in vulnerable versions. The commit diff shows the patched version removed dependencies on JVM internals and changed how the RMI registry is bound. The original implementation: 1) Used a custom Registry class that bypassed security constraints, 2) Did not properly enforce authentication requirements when binding the 'jmxrmi' endpoint, 3) Relied on internal sun.rmi classes that weakened security controls. The createJMXServer function was directly responsible for setting up the insecure binding configuration, making it the root cause of the authentication bypass.