{"schemaVersion":3,"id":"CVE-2021-25642","aliases":["GHSA-rr2m-gffv-mgrj"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-08-25T00:00:00.000Z","modified":"2024-08-03T20:11:28.113Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02304,"percentile":0.83072,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.068,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02236},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02304,"percentile":0.83072}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02236,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02255,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02304,"percentile":0.83072}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"}],"affected":[{"vendor":"apache software foundation","product":"apache hadoop","name":"Apache Hadoop","label":"apache hadoop","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"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","noFixRecorded":false,"fixedIn":null}],"versionsText":"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","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_hadoop"},{"vendor":"apache","product":"hadoop","name":"hadoop","label":"hadoop","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.9.0, < 2.10.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.2.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.3.0, < 3.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.9.0, < 2.10.2 | ≥ 3.0.0, < 3.2.4 | ≥ 3.3.0, < 3.3.4","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-hadoop","label":"Apache Hadoop","category":"database"}},"hubHref":"/vendor/apache/hadoop"},{"vendor":"org.apache.hadoop","product":"hadoop-yarn-server","name":"org.apache.hadoop:hadoop-yarn-server","label":"hadoop-yarn-server","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.hadoop/hadoop-yarn-server","purlType":"maven","versions":[{"text":"< 2.10.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.2.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.3.0, < 3.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.10.2 | ≥ 3.0.0, < 3.2.4 | ≥ 3.3.0, < 3.3.4","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/g6vf2h4wdgzzdgk91mqozhs58wotq150","label":"lists.apache.org/thread/g6vf2h4wdgzzdgk91mqozhs58wotq150","hostname":"lists.apache.org","tags":["WEB","Mailing List","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20221201-0003/","label":"security.netapp.com/advisory/ntap-20221201-0003/","hostname":"security.netapp.com","tags":["Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25642","label":"nvd.nist.gov/vuln/detail/CVE-2021-25642","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/hadoop/commit/5e2f4339fadc88f20543915fc9b0aaeaf4f9e7bf","label":"github.com/apache/hadoop/commit/5e2f4339fadc88f20543915fc9b0aaeaf4f9e7bf","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/hadoop","label":"github.com/apache/hadoop","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://security.netapp.com/advisory/ntap-20221201-0003","label":"security.netapp.com/advisory/ntap-20221201-0003","hostname":"security.netapp.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-08-25T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T20:11:28.113Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T14:46:22.340Z","stale":false,"partial":false}}