{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.cassandra:cassandra-all. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-8016 in the wild and no public exploit code.","fix":"Upgrade org.apache.cassandra:cassandra-all to 3.11.2 or later.","what":"CVE-2018-8016 is a critical authentication bypass vulnerability in Apache Cassandra, published on 28 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-8016 and fix it if it is affected.\n\nWhat it is: CVE-2018-8016 is a critical authentication bypass vulnerability in Apache Cassandra, published on 28 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-8016 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.cassandra:cassandra-all (Maven): affected from 3.8; fixed in 3.11.2\n- org.apache.cassandra:cassandra-all (Maven): affected from 3.8; fixed in 3.11.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-8016/ (Markdown: https://insights.sbomify.com/CVE-2018-8016/index.md)","id":"CVE-2018-8016","markdown":"https://insights.sbomify.com/CVE-2018-8016/index.md","name":"CVE-2018-8016","record":{"aliases":["GHSA-52gq-7j6c-xw6x"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Cassandra","requires_auth":"none","summary":"Remote attackers can execute arbitrary Java code via unauthenticated JMX/RMI interface in default Apache Cassandra configurations.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"cassandra","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"description":"The default configuration in Apache Cassandra 3.8 through 3.11.1 binds an unauthenticated JMX/RMI interface to all network interfaces, which allows remote attackers to execute arbitrary Java code via an RMI request. This issue is a regression of CVE-2015-0225. The regression was introduced in https://issues.apache.org/jira/browse/CASSANDRA-12109. The fix for the regression is implemented in https://issues.apache.org/jira/browse/CASSANDRA-14173. This fix is contained in the 3.11.2 release of Apache Cassandra.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Missing Authentication for Critical Function in Apache Cassandra","id":"CVE-2018-8016","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"auth_bypass","year":"2018"},"n_packages":2,"n_references":1,"next":{"headline":"Comparison errorr in org.apache.tika:tika-core","id":"CVE-2018-8017"},"packages":[{"ecosystem":"Maven","fixed":["3.11.2"],"introduced":["3.8"],"last_affected":[],"package":"org.apache.cassandra:cassandra-all","purl":null,"source":"GHSA-52gq-7j6c-xw6x"},{"ecosystem":"Maven","fixed":["3.11.2"],"introduced":["3.8"],"last_affected":[],"package":"org.apache.cassandra:cassandra-all","purl":"pkg:maven/org.apache.cassandra/cassandra-all","source":"GHSA-52gq-7j6c-xw6x"}],"prev":{"headline":"Apache ORC vulnerable to Uncontrolled Recursion","id":"CVE-2018-8015"},"products":["Apache Cassandra"],"published":"2018-06-28","related":[{"cvss_score":9.8,"headline":"Oracle Java SE and JRockit Unspecified","id":"CVE-2016-3427","kev_date_added":"2023-05-12","published":"2016-04-21"},{"cvss_score":9.1,"headline":"Remote code execution for scripted UDFs","id":"CVE-2021-44521","kev_date_added":null,"published":"2022-02-11"},{"cvss_score":8.8,"headline":"Apache Cassandra: Privilege escalation via ADD IDENTITY authorization bypass","id":"CVE-2026-27314","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":8.8,"headline":"Apache Cassandra: User with MODIFY permission on ALL KEYSPACES can escalate privileges to superuser via unsafe actions (4.0.16 only)","id":"CVE-2025-26467","kev_date_added":null,"published":"2025-08-25"},{"cvss_score":8.8,"headline":"Apache Cassandra: User with MODIFY permission on ALL KEYSPACES can escalate privileges to superuser via unsafe actions","id":"CVE-2025-23015","kev_date_added":null,"published":"2025-02-04"},{"cvss_score":7.8,"headline":"Apache Cassandra: Privilege escalation when enabling FQL/Audit logs","id":"CVE-2023-30601","kev_date_added":null,"published":"2023-05-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Apache Software Foundation"]},"summary":"Remote attackers can execute arbitrary Java code via unauthenticated JMX/RMI interface in default Apache Cassandra configurations.","url":"https://insights.sbomify.com/CVE-2018-8016/"}