{"id":"CVE-2021-25642","published":"2022-08-25T00:00:00Z","modified":"2024-08-03T20:11:28Z","title":"Apache Hadoop YARN remote code execution in ZKConfigurationStore of capacity scheduler","vendor":"Apache","product":"Apache Hadoop","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02275,"percentile":0.83516,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://lists.apache.org/thread/g6vf2h4wdgzzdgk91mqozhs58wotq150","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20221201-0003/","tags":[]}],"priority":{"score":21.7,"factors":[{"name":"EPSS percentile","points":16.7},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2022-08-26","earliestUrl":"https://github.com/safe3s/CVE-2021-25642","repos":[{"name":"safe3s/CVE-2021-25642","url":"https://github.com/safe3s/CVE-2021-25642","stars":0,"created":"2022-08-26"}]},"first":{"date":"2022-08-26","source":"PoC-in-GitHub","url":"https://github.com/safe3s/CVE-2021-25642"},"provenance":"source"},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Hadoop","versions":["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"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.hadoop:hadoop-yarn-server","vulnerableRanges":["<2.10.2",">=3.0.0, <3.2.4",">=3.3.0, <3.3.4"],"patched":["2.10.2","3.2.4","3.3.4"],"from":["GHSA-rr2m-gffv-mgrj"],"provenance":"source"}],"summary":{"text":"Apache Hadoop YARN's ZKConfigurationStore, an optional configuration store used by the CapacityScheduler, deserializes data read from ZooKeeper without validating it. An attacker with access to ZooKeeper can exploit this to run arbitrary commands as the YARN user, provided the deployment uses ZKConfigurationStore.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:49Z"},"euvd":{"id":"EUVD-2022-6622","exploited":false,"provenance":"source"}}