High severity8.8NVD Advisory· Published Aug 25, 2022· Updated Jun 17, 2026
CVE-2021-25642
CVE-2021-25642
Description
ZKConfigurationStore which is optionally used by CapacityScheduler of Apache Hadoop YARN deserializes data obtained from ZooKeeper without validation. An attacker having access to ZooKeeper can run arbitrary commands as YARN user by exploiting this. Users should upgrade to Apache Hadoop 2.10.2, 3.2.4, 3.3.4 or later (containing YARN-11126) if ZKConfigurationStore is used.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.hadoop:hadoop-yarn-serverMaven | < 2.10.2 | 2.10.2 |
org.apache.hadoop:hadoop-yarn-serverMaven | >= 3.0.0, < 3.2.4 | 3.2.4 |
org.apache.hadoop:hadoop-yarn-serverMaven | >= 3.3.0, < 3.3.4 | 3.3.4 |
Affected products
3- Apache Software Foundation/Apache Hadoopv5Range: 2.9.0 to 2.10.1, 3.0.0-alpha1 to 3.1.4, 3.2.0 to 3.2.3, and 3.3.0 to 3.3.3
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-rr2m-gffv-mgrjghsaADVISORY
- lists.apache.org/thread/g6vf2h4wdgzzdgk91mqozhs58wotq150nvdMailing ListVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-25642ghsaADVISORY
- security.netapp.com/advisory/ntap-20221201-0003/nvdThird Party Advisory
- github.com/apache/hadoop/commit/5e2f4339fadc88f20543915fc9b0aaeaf4f9e7bfghsaWEB
- security.netapp.com/advisory/ntap-20221201-0003ghsaWEB
News mentions
0No linked articles in our index yet.