Uncontrolled Resource Consumption in Apache ZooKeeper
Published 13 May 2022 · Updated 8 Nov 2023
Is your project on an affected org.apache.zookeeper:zookeeper?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=3.4.0 <3.4.10
- Fixed in
- 3.4.10
mvn versions:use-dep-version -Dincludes=org.apache.zookeeper:zookeeper -DdepVersion=3.4.10 -DforceVersion=true- Affected
- >=3.5.0 <3.5.3
- Fixed in
- 3.5.3
mvn versions:use-dep-version -Dincludes=org.apache.zookeeper:zookeeper -DdepVersion=3.5.3 -DforceVersion=trueDetails
Two four letter word commands "wchp/wchc" are CPU intensive and could cause spike of CPU utilization on Apache ZooKeeper server if abused, which leads to the server unable to serve legitimate client requests. Apache ZooKeeper thru version 3.4.9 and 3.5.2 suffer from this issue, fixed in 3.4.10, 3.5.3, and later.
Is GHSA-7cwj-j333-x7f7 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.zookeeper:zookeeper, and gives you the command that fixes it.
More advisories for org.apache.zookeeper:zookeeper
- HighCVE-2026-24281Apache ZooKeeper: Reverse-DNS fallback enables hostname verification bypass in ZooKeeper ZKTrustManager · 7 Mar 2026
- HighCVE-2026-24308Apache ZooKeeper has improper handling of configuration values · 7 Mar 2026
- MediumCVE-2025-58457Apache ZooKeeper: Insufficient Permission Check in AdminServer Snapshot/Restore Commands · 24 Sept 2025
- HighCVE-2024-51504Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server · 7 Nov 2024
- MediumCVE-2024-23944Apache ZooKeeper vulnerable to information disclosure in persistent watchers handling · 15 Mar 2024
- CriticalCVE-2023-44981Authorization Bypass Through User-Controlled Key vulnerability in Apache ZooKeeper · 11 Oct 2023
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2017-5637
- Linkaccess.redhat.com/errata/RHSA-2017:2477
- Linkaccess.redhat.com/errata/RHSA-2017:3354
- Linkaccess.redhat.com/errata/RHSA-2017:3355
- Linkissues.apache.org/jira/browse/ZOOKEEPER-2693
- Linklists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272@%3Cissues.activemq.apache.org%3E
- Linklists.apache.org/thread.html/58170aeb7a681d462b7fa31cae81110cbb749d2dc83c5736a0bb8370@%3Cdev.zookeeper.apache.org%3E
- Linklists.apache.org/thread.html/bcce5a9c532b386c68dab2f6b3ce8b0cc9b950ec551766e76391caa3@%3Ccommits.nifi.apache.org%3E
- Linklists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b@%3Ccommits.nifi.apache.org%3E
- Linkwww.oracle.com//security-alerts/cpujul2021.html
- Linkwww.oracle.com/security-alerts/cpujul2020.html
- Linkwww.debian.org/security/2017/dsa-3871
- Linkwww.securityfocus.com/bid/98814
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.