CVE-2019-0201: Zookeeper Access Control Bypass Vulnerability
MODERATECVE-2019-0201 is a MODERATE (CVSS 5.9) access control bypass vulnerability (CWE-862: Missing Authorization) affecting Zookeeper libraries in the Maven ecosystem. The issue involves access control bypass in apache zookeeper. Remediation is available by upgrading affected packages to version 3.4.14, 3.5.5.
CVE-2019-0201 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2019-0201
To remediate this vulnerability, upgrade all affected Zookeeper dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>3.4.14</version>
</dependency>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>3.5.5</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.zookeeper
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2019-0201, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.zookeeper
Analyze the terminal output to locate any version of Zookeeper in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.4.14), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.zookeeper command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Zookeeper, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2019-0201 Affected Zookeeper Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.zookeeper:zookeeper
|
Maven |
≥ 1.0.0
< 3.4.14
|
3.4.14
|
|
org.apache.zookeeper:zookeeper
|
Maven |
≥ 3.5.0
< 3.5.5
|
3.5.5
|
References
Frequently Asked Questions
What is CVE-2019-0201?
Which Zookeeper versions are affected?
What version fixes CVE-2019-0201?
Is zookeeper affected?
What is the CVSS score of CVE-2019-0201?
What CWE is associated with CVE-2019-0201?
How can I check Maven dependencies for CVE-2019-0201?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2hw2-62cp-p9p7",
"modified" : "2021-07-27T20:54:44Z",
"published" : "2019-05-29T18:54:11Z",
"aliases" : [ "CVE-2019-0201" ],
"summary" : "Access control bypass in Apache ZooKeeper",
"details" : "An issue is present in Apache ZooKeeper 1.0.0 to 3.4.13 and 3.5.0-alpha to 3.5.4-beta. ZooKeeper?s getACL() command doesn?t check any permission when retrieves the ACLs of the requested node and returns all information contained in the ACL Id field as plaintext string. DigestAuthenticationProvider overloads the Id field with the hash value that is used for user authentication. As a consequence, if Digest Authentication is in use, the unsalted hash value will be disclosed by getACL() request for unauthenticated or unprivileged users.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.zookeeper:zookeeper"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "3.4.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.zookeeper:zookeeper"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.5.0"
}, {
"fixed" : "3.5.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-0201"
}, {
"type" : "WEB",
"url" : "https://zookeeper.apache.org/security.html#CVE-2019-0201"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpuoct2020.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpujul2020.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com//security-alerts/cpujul2021.html"
}, {
"type" : "WEB",
"url" : "https://www.debian.org/security/2019/dsa-4461"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20190619-0001"
}, {
"type" : "WEB",
"url" : "https://seclists.org/bugtraq/2019/Jun/13"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2019/05/msg00033.html"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r40f32125c1d97ad82404cc918171d9e0fcf78e534256674e9da1eb4b@%3Ccommon-issues.hadoop.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/f6112882e30a31992a79e0a8c31ac179e9d0de7c708de3a9258d4391@%3Cissues.bookkeeper.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/5d9a1cf41a5880557bf680b7321b4ab9a4d206c601ffb15fef6f196a@%3Ccommits.accumulo.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272@%3Cissues.activemq.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/ZOOKEEPER-1392"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2019:4352"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2019:3892"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2019:3140"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/108427"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-862" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2019-05-29T18:53:55Z",
"nvd_published_at" : "2019-05-23T14:29:00Z"
}
}