{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-25642","id":"CVE-2021-25642","title":"Apache Hadoop YARN remote code execution in ZKConfigurationStore of capacity scheduler","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.","descriptionLong":"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.","published":"2022-08-25T00:00:00.000Z","updated":"2026-10-24T10:30:40.304289593Z","reserved":"2021-01-20T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["Apache Software Foundation Apache Hadoop"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Hadoop","defaultStatus":null,"versions":[{"version":"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","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.hadoop:hadoop-yarn-server","purl":"pkg:maven/org.apache.hadoop/hadoop-yarn-server","ranges":["<2.10.2",">=3.0.0 <3.2.4",">=3.3.0 <3.3.4"],"fixed":["2.10.2","3.2.4","3.3.4"],"advisory":"GHSA-rr2m-gffv-mgrj"}],"cwes":["CWE-502"],"aliases":["GHSA-rr2m-gffv-mgrj"],"references":[{"url":"https://lists.apache.org/thread/g6vf2h4wdgzzdgk91mqozhs58wotq150","tags":["x_transferred","Mailing List","Vendor Advisory","advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20221201-0003/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25642","tags":["advisory"]},{"url":"https://github.com/apache/hadoop/commit/5e2f4339fadc88f20543915fc9b0aaeaf4f9e7bf","tags":["web"]},{"url":"https://github.com/apache/hadoop","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20221201-0003","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02275,"epssPercentile":0.83467,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-25642","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25642","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-25642","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rr2m-gffv-mgrj","ok":true,"note":"GHSA-rr2m-gffv-mgrj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-25642","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}