MODERATE 5.9

CVE-2019-0201

Access control bypass in Apache ZooKeeper

Description

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.zookeeper » zookeeper
>= 1.0.0, < 3.4.14>= 3.5.0, < 3.5.5
3.4.14, 3.5.5

Blast radius

1affected artifacts
4,629affected versions
15,032dependent artifacts (est.)
1,253,157dependent versions

65% of the dependent artifacts (9,885) still pull an affected version in their latest release.

DepthDependent versions
Direct
101,680
2 hops
634,365
3 hops
338,893
4 hops
118,603
5 hops
45,989
6 hops
13,627

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References