CVE-2018-8012: Missing Authorization in Apache ZooKeeper

Summary

13/05/2022
Yes i
High
7.5

CVE-2018-8012: Missing Authorization in Apache ZooKeeper. Affects org.apache.zookeeper:zookeeper across 2 version ranges.

< 3.4.10 >= 3.5.0-alpha, < 3.5.4-beta

Fixed in 3.4.10 or 3.5.4-beta, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2018-8012 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache ZooKeeper is a distributed coordination service that allows applications to coordinate and synchronize tasks in a distributed environment. It provides a hierarchical key-value store, similar to a file system, where data can be stored and accessed by multiple clients. ZooKeeper is widely used in distributed systems to maintain configuration information, provide distributed locks, and manage group membership. However, versions before 3.4.10 and 3.5.0-alpha through 3.5.3-beta suffer from a vulnerability that allows unauthorized servers to join a quorum and propagate counterfeit changes to the leader.

Vulnerability Detail

The vulnerability (CVE-2018-8012) in Apache ZooKeeper allows an arbitrary endpoint to join the cluster without authentication or authorization. This means that an attacker can exploit the vulnerability to join the cluster and start propagating counterfeit changes to the leader. The lack of authentication and authorization enforcement poses a significant risk to the integrity and security of the distributed system. The vulnerability has a CVSS score of 7.5, indicating a high severity level.

How To Fix

Latest published version: 3.9.6 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 3.4.10 3.4.10
  • >= 3.5.0-alpha, < 3.5.4-beta 3.5.4-beta

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to upgrade to the fixed versions as soon as possible to mitigate the risk.

Conclusion

In conclusion, the vulnerability (CVE-2018-8012) in Apache ZooKeeper allows unauthorized servers to join the cluster and propagate counterfeit changes. To mitigate the risk, it is essential to upgrade to the fixed versions of Apache ZooKeeper as soon as possible. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.zookeeper:zookeeper →

Share this vulnerability

FAQ

Apache ZooKeeper is a distributed coordination service that allows applications to coordinate and synchronize tasks in a distributed environment. It provides a hierarchical key-value store and is widely used in distributed systems.

The vulnerability allows unauthorized servers to join the cluster and propagate counterfeit changes to the leader, compromising the integrity and security of the distributed system.

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

To fix the vulnerability, it is recommended to upgrade to the fixed versions of Apache ZooKeeper (3.4.10 or later for versions before 3.4.10, and 3.5.4-beta or later for versions 3.5.0-alpha through 3.5.3-beta).

There is no known workaround for this vulnerability. It is crucial to upgrade to the fixed versions to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.zookeeper:zookeeper.

How To Fix

Latest published version: 3.9.6 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 3.4.10 3.4.10
  • >= 3.5.0-alpha, < 3.5.4-beta 3.5.4-beta

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback