CVE-2021-25642Apache Hadoop
High 8.8
Follow: this CVE · Apache · Apache Hadoop We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- Yes
- Published
- Aug 25, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Hadoop.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.hadoop:hadoop-yarn-server |
< 2.10.2 |
2.10.2 |
— |
| Maven | org.apache.hadoop:hadoop-yarn-server |
≥ 3.0.0 < 3.2.4 |
3.2.4 |
— |
| Maven | org.apache.hadoop:hadoop-yarn-server |
≥ 3.3.0 < 3.3.4 |
3.3.4 |
— |
Per OSV / GitHub Advisories (GHSA-rr2m-gffv-mgrj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | hadoop | ≥ 2.9.0 < 2.10.2 |
| apache | hadoop | ≥ 3.0.0 < 3.2.4 |
| apache | hadoop | ≥ 3.3.0 < 3.3.4 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Mailing List Vendor Advisory
- security.netapp.com Third Party Advisory