# CVE-2018-8012: Missing Authorization in Apache ZooKeeper

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 8.57% (percentile 96, 2026-11-26)
- **CWE:** CWE-862
- **Aliases:** GHSA-ccqf-c5hq-77mp
- **Published:** 2018-05-21T19:00:00.000Z
- **Modified:** 2026-06-17T02:04:05.120Z

## Who should check

- Projects that depend on Maven package org.apache.zookeeper:zookeeper (\< 3.4.10)
- Anyone running Apache Software Foundation Apache ZooKeeper Apache ZooKeeper prior to 3.4.10, Apache ZooKeeper 3.5.0-alpha through 3.5.3-beta

## 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.

## Affected and fixed versions

- Maven `org.apache.zookeeper:zookeeper`: affected \< 3.4.10; fixed 3.4.10, 3.5.4-beta (osv)
- Apache Software Foundation Apache ZooKeeper: Apache ZooKeeper prior to 3.4.10, Apache ZooKeeper 3.5.0-alpha through 3.5.3-beta (cvelist)

## Mitigation

- Upgrade org.apache.zookeeper:zookeeper to one of 3.4.10, 3.5.4-beta (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2018-8012. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-8012.md
Affected: org.apache.zookeeper:zookeeper < 3.4.10
Fixed in: 3.4.10, 3.5.4-beta

Steps:
1. Search this machine and project for org.apache.zookeeper:zookeeper (Maven), Apache Software Foundation Apache ZooKeeper: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2018-8012 being exploited?

There is no confirmed exploitation: CVE-2018-8012 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 8.57% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2018-8012?

High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.

### Which versions are affected by CVE-2018-8012?

org.apache.zookeeper:zookeeper \< 3.4.10.

### Is there a fix for CVE-2018-8012?

Yes. Fixed in 3.4.10, 3.5.4-beta. Upgrade org.apache.zookeeper:zookeeper to one of 3.4.10, 3.5.4-beta (or later in the same release line).

### How do I check if I'm affected by CVE-2018-8012?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://www.debian.org/security/2018/dsa-4214>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2018-8012>
- patch: <https://www.oracle.com/security-alerts/cpujul2020.html>
- other: <http://www.securitytracker.com/id/1040948>
- other: <http://www.securityfocus.com/bid/104253>
- other: <https://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272%40%3Cissues.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/bcce5a9c532b386c68dab2f6b3ce8b0cc9b950ec551766e76391caa3%40%3Ccommits.nifi.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b%40%3Ccommits.nifi.apache.org%3E>
- other: <https://lists.apache.org/thread.html/c75147028c1c79bdebd4f8fa5db2b77da85de2b05ecc0d54d708b393%40%3Cdev.zookeeper.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r8f0d920805af93033c488af89104e2d682662bacfb8406db865d5e14%40%3Cdev.jackrabbit.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rc5bc4ddb0deabf8cfb69378cecee56fcdc76929bea9e6373cb863870%40%3Cdev.jackrabbit.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r73daf1fc5d85677d9a854707e1908d14e174b7bbb0c603709c0ab33f%40%3Coak-commits.jackrabbit.apache.org%3E>
- other: <https://lists.apache.org/thread.html/re3a4048e9515d4afea416df907a612ed384a16c57cf99e97ee4a12f2%40%3Cdev.jackrabbit.apache.org%3E>
- other: <https://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272@%3Cissues.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/bcce5a9c532b386c68dab2f6b3ce8b0cc9b950ec551766e76391caa3@%3Ccommits.nifi.apache.org%3E>
- other: <https://lists.apache.org/thread.html/c75147028c1c79bdebd4f8fa5db2b77da85de2b05ecc0d54d708b393@%3Cdev.zookeeper.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r73daf1fc5d85677d9a854707e1908d14e174b7bbb0c603709c0ab33f@%3Coak-commits.jackrabbit.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r8f0d920805af93033c488af89104e2d682662bacfb8406db865d5e14@%3Cdev.jackrabbit.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rc5bc4ddb0deabf8cfb69378cecee56fcdc76929bea9e6373cb863870@%3Cdev.jackrabbit.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b@%3Ccommits.nifi.apache.org%3E>
- other: <https://lists.apache.org/thread.html/re3a4048e9515d4afea416df907a612ed384a16c57cf99e97ee4a12f2@%3Cdev.jackrabbit.apache.org%3E>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2018-8012>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-ccqf-c5hq-77mp> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2018-8012> · JSON: <https://flawdb.com/api/v1/entries/CVE-2018-8012>
