CVE-2018-8012
Missing Authorization in Apache ZooKeeper
Reported by apache · Published May 21, 2018
zookeeper is fixed in 3.5.4-beta and 3.4.10 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.zookeeper:zookeeper | Maven Central | 3.5.4-beta, 3.4.10 |
| zookeeper | apache | 3.5.3, 3.4.10 |
| zookeeper | Ubuntu:Pro:16.04:LTS | 3.4.8-1ubuntu0.1~esm1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache ZooKeeper | Apache ZooKeeper prior to 3.4.10, Apache ZooKeeper 3.5.0-alpha through 3.5.3-beta |
| Apache Software Foundation | Apache ZooKeeper | Apache ZooKeeper prior to 3.4.10, Apache ZooKeeper 3.5.0-alpha through 3.5.3-beta |
| Maven | org.apache.zookeeper:zookeeper | 0, 3.5.0 |
Timeline
- May 21, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 6, 2026 Security Advisory (6 in total, the first dated here)
- Sep 19, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-8012
vulnetix vdb fixes CVE-2018-8012
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-8012/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- DSA-4214 vendor-advisoryx_refsource_DEBIAN
- 1040948 vdb-entryx_refsource_SECTRACK
- 104253 vdb-entryx_refsource_BID
- [activemq-issues] 20190820 [jira] [Created] (AMQ-7279) Security Vulnerabilities in Libraries - jackson-databind-2.9.8.jar, tomcat-servlet-api-8.0.53.jar, tomcat-websocket-api-8.0.53.jar, zookeeper-3.4.6.jar, guava-18.0.jar, jetty-all-9.2.26.v20180806.jar, scala-library-2.11.0.jar mailing-listx_refsource_MLIST
- [nifi-commits] 20191113 svn commit: r1869773 - /nifi/site/trunk/security.html mailing-listx_refsource_MLIST
- [nifi-commits] 20200123 svn commit: r1873083 - /nifi/site/trunk/security.html mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_MISC
- [jackrabbit-dev] 20210716 [GitHub] [jackrabbit-oak] nit0906 opened a new pull request #326: OAK-9496 | Update zookeeper version to handle CVE-2018-8012 mailing-listx_refsource_MLIST
- [jackrabbit-dev] 20210716 [GitHub] [jackrabbit-oak] nit0906 commented on pull request #326: OAK-9496 | Update zookeeper version to handle CVE-2018-8012 mailing-listx_refsource_MLIST
- [jackrabbit-oak-commits] 20210720 [jackrabbit-oak] branch trunk updated: OAK-9496 | Update zookeeper version to handle CVE-2018-8012 (#326) mailing-listx_refsource_MLIST
- [jackrabbit-dev] 20210720 [GitHub] [jackrabbit-oak] nit0906 merged pull request #326: OAK-9496 | Update zookeeper version to handle CVE-2018-8012 mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2018-8012 advisory