{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.zookeeper:zookeeper. It affects 3 products.","exploited":"There is no known exploitation of CVE-2018-8012 in the wild and no public exploit code.","fix":"Upgrade org.apache.zookeeper:zookeeper to a fixed version for your release line: 3.4.10 or 3.5.4-beta.","what":"CVE-2018-8012 is a high-severity missing authorization vulnerability in Debian Debian Linux, published on 21 May 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-8012 and fix it if it is affected.\n\nWhat it is: CVE-2018-8012 is a high-severity missing authorization vulnerability in Debian Debian Linux, published on 21 May 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-8012 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.zookeeper:zookeeper (Maven): affected all versions; fixed in 3.4.10\n- org.apache.zookeeper:zookeeper (Maven): affected all versions; fixed in 3.4.10\n- org.apache.zookeeper:zookeeper (Maven): affected from 3.5.0-alpha; fixed in 3.5.4-beta\n- org.apache.zookeeper:zookeeper (Maven): affected from 3.5.0-alpha; fixed in 3.5.4-beta\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-8012/ (Markdown: https://insights.sbomify.com/CVE-2018-8012/index.md)","id":"CVE-2018-8012","markdown":"https://insights.sbomify.com/CVE-2018-8012/index.md","name":"CVE-2018-8012","record":{"aliases":["DEBIAN-CVE-2018-8012","DSA-4214-1","GHSA-ccqf-c5hq-77mp","UBUNTU-CVE-2018-8012"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache ZooKeeper","requires_auth":"none","summary":"An attacker can join a ZooKeeper cluster without authentication to propagate counterfeit changes, requiring an upgrade to secure the quorum.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"zookeeper","vendor":"apache"},{"product":"debian_linux","vendor":"debian"},{"product":"goldengate_stream_analytics","vendor":"oracle"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"description":"No authentication/authorization is enforced when a server attempts to join a quorum in Apache ZooKeeper before 3.4.10, and 3.5.0-alpha through 3.5.3-beta. As a result an arbitrary end point could join the cluster and begin propagating counterfeit changes to the leader.","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 Authorization in Apache ZooKeeper","id":"CVE-2018-8012","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"debian:debian_linux","products":["debian:debian_linux"],"type":"missing_authorization","year":"2018"},"n_packages":4,"n_references":12,"next":{"headline":"Deserialization of Untrusted Data in Apache Batik","id":"CVE-2018-8013"},"packages":[{"ecosystem":"Maven","fixed":["3.4.10"],"introduced":["0"],"last_affected":[],"package":"org.apache.zookeeper:zookeeper","purl":null,"source":"GHSA-ccqf-c5hq-77mp"},{"ecosystem":"Maven","fixed":["3.4.10"],"introduced":["0"],"last_affected":[],"package":"org.apache.zookeeper:zookeeper","purl":"pkg:maven/org.apache.zookeeper/zookeeper","source":"GHSA-ccqf-c5hq-77mp"},{"ecosystem":"Maven","fixed":["3.5.4-beta"],"introduced":["3.5.0-alpha"],"last_affected":[],"package":"org.apache.zookeeper:zookeeper","purl":null,"source":"GHSA-ccqf-c5hq-77mp"},{"ecosystem":"Maven","fixed":["3.5.4-beta"],"introduced":["3.5.0-alpha"],"last_affected":[],"package":"org.apache.zookeeper:zookeeper","purl":"pkg:maven/org.apache.zookeeper/zookeeper","source":"GHSA-ccqf-c5hq-77mp"}],"prev":{"headline":"mod_md, DoS via Coredumps on specially crafted requests","id":"CVE-2018-8011"},"products":["Apache ZooKeeper"],"published":"2018-05-21","related":[{"cvss_score":9.1,"headline":"Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server","id":"CVE-2024-51504","kev_date_added":null,"published":"2024-11-07"},{"cvss_score":9.1,"headline":"Apache ZooKeeper: Authorization bypass in SASL Quorum Peer Authentication","id":"CVE-2023-44981","kev_date_added":null,"published":"2023-10-11"},{"cvss_score":8.1,"headline":"Memory corruption in n/a","id":"CVE-2016-5017","kev_date_added":null,"published":"2016-09-21"},{"cvss_score":7.5,"headline":"Apache ZooKeeper: Information disclosure via SetWatches reconnect replay","id":"CVE-2026-59739","kev_date_added":null,"published":"2026-09-16"},{"cvss_score":7.5,"headline":"Apache ZooKeeper: Improper validation of certificate with host mismatch in FIPS mode","id":"CVE-2026-59969","kev_date_added":null,"published":"2026-09-16"},{"cvss_score":7.5,"headline":"Missing authorization in Apache ZooKeeper","id":"CVE-2026-79993","kev_date_added":null,"published":"2026-09-16"}],"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-17","vendors":["Apache Software Foundation"]},"summary":"An attacker can join a ZooKeeper cluster without authentication to propagate counterfeit changes, requiring an upgrade to secure the quorum.","url":"https://insights.sbomify.com/CVE-2018-8012/"}