CVE-2021-25642: Apache Hadoop YARN remote code execution in ZKConfigurationStore of capacity scheduler
Vulnerability summary
CVE-2021-25642 is a high (CVSS 8.8) Deserialization of Untrusted Data vulnerability in apache software foundation apache hadoop. EPSS estimates a 2.27% chance of exploitation in the next 30 days, higher than 83.6% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 25-08-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- OSV · MavenEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.27%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
Decrease -0.03 pp
From 2.30% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- hadoop≥ 2.9.0, < 2.10.2 | ≥ 3.0.0, < 3.2.4 | ≥ 3.3.0, < 3.3.4
Apache software foundation1 product
- apache hadoop2.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
Org.apache.hadoop1 product
- hadoop-yarn-server< 2.10.2 | ≥ 3.0.0, < 3.2.4 | ≥ 3.3.0, < 3.3.4
3 vendors · 3 products
References
6 links- security.netapp.com/advisory/ntap-20221201-0003/Third Party Advisory
- github.com/apache/hadoopPACKAGE