{"cve":"CVE-2021-25642","nvd":{"published":"2022-08-25T14:15:09.067","modified":"2026-06-17T03:42:15.870","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-502"],"references":["https://lists.apache.org/thread/g6vf2h4wdgzzdgk91mqozhs58wotq150","https://security.netapp.com/advisory/ntap-20221201-0003/","https://lists.apache.org/thread/g6vf2h4wdgzzdgk91mqozhs58wotq150","https://security.netapp.com/advisory/ntap-20221201-0003/"],"products":["apache:hadoop"],"source":"nvd","synced_at":"2026-10-19T21:34:18.502168378+00:00"},"epss":{"cve":"CVE-2021-25642","score":0.02304,"percentile":0.8333,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rr2m-gffv-mgrj","url":"https://osv.dev/vulnerability/GHSA-rr2m-gffv-mgrj","summary":"Deserialization of Untrusted Data in Apache Hadoop YARN","modified":"2024-02-22T05:43:15.326359Z","packages":[{"ecosystem":"Maven","name":"org.apache.hadoop:hadoop-yarn-server","purl":"pkg:maven/org.apache.hadoop/hadoop-yarn-server","ranges":["<2.10.2"],"fixed":["2.10.2"]},{"ecosystem":"Maven","name":"org.apache.hadoop:hadoop-yarn-server","purl":"pkg:maven/org.apache.hadoop/hadoop-yarn-server","ranges":[">=3.0.0 <3.2.4"],"fixed":["3.2.4"]},{"ecosystem":"Maven","name":"org.apache.hadoop:hadoop-yarn-server","purl":"pkg:maven/org.apache.hadoop/hadoop-yarn-server","ranges":[">=3.3.0 <3.3.4"],"fixed":["3.3.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}