{"id":"CVE-2021-25642","aliases":["GHSA-rr2m-gffv-mgrj"],"summary":"Apache Hadoop YARN remote code execution in ZKConfigurationStore of capacity scheduler","published_at":"2022-08-25T00:00:00Z","modified_at":"2024-08-03T20:11:28.113Z","products":[],"rating":{"severity":"high","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.022749999538064003,"percentile":0.8346700072288513,"date":"2026-11-19T00:00:00Z"},"priority":9.8,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"Apache Software Foundation/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"],"provider":"cvelistv5","source":"CVE-2021-25642","relation":"self"},{"ecosystem":"Maven","package":"org.apache.hadoop:hadoop-yarn-server","purl":"pkg:maven/org.apache.hadoop/hadoop-yarn-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.2"}]}],"versions":["0.23.1","0.23.10","0.23.11","0.23.3","0.23.4","0.23.5","0.23.6","0.23.7","0.23.8","0.23.9","2.0.0-alpha","2.0.1-alpha","2.0.2-alpha","2.0.3-alpha","2.0.4-alpha","2.0.5-alpha","2.0.6-alpha","2.1.0-beta","2.1.1-beta","2.10.0","2.10.1","2.2.0","2.3.0","2.4.0","2.4.1","2.5.0","2.5.1","2.5.2","2.6.0","2.6.1","2.6.2","2.6.3","2.6.4","2.6.5","2.7.0","2.7.1","2.7.2","2.7.3","2.7.4","2.7.5","2.7.6","2.7.7","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.9.0","2.9.1","2.9.2"],"fixed":["2.10.2"],"provider":"osv","source":"GHSA-rr2m-gffv-mgrj","relation":"self"},{"ecosystem":"Maven","package":"org.apache.hadoop:hadoop-yarn-server","purl":"pkg:maven/org.apache.hadoop/hadoop-yarn-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.2.4"}]}],"versions":["3.0.0","3.0.1","3.0.2","3.0.3","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.2.0","3.2.1","3.2.2","3.2.3"],"fixed":["3.2.4"],"provider":"osv","source":"GHSA-rr2m-gffv-mgrj","relation":"self"},{"ecosystem":"Maven","package":"org.apache.hadoop:hadoop-yarn-server","purl":"pkg:maven/org.apache.hadoop/hadoop-yarn-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.3.0"},{"fixed":"3.3.4"}]}],"versions":["3.3.0","3.3.1","3.3.2","3.3.3"],"fixed":["3.3.4"],"provider":"osv","source":"GHSA-rr2m-gffv-mgrj","relation":"self"},{"ecosystem":"NVD","package":"apache:hadoop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.0"},{"fixed":"2.10.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.2.4"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.3.0"},{"fixed":"3.3.4"}]}],"fixed":["2.10.2","3.2.4","3.3.4"],"provider":"nvd","source":"CVE-2021-25642","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"not_affected","packages":["hadoop-yarn"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-25642"},{"vendor":"Red Hat","product":"Red Hat Fuse 7","cpe":"cpe:/a:redhat:jboss_fuse:7","status":"not_affected","packages":["hadoop-yarn"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-25642"},{"vendor":"Red Hat","product":"Red Hat Integration Camel K 1","cpe":"cpe:/a:redhat:camel_k:1","status":"not_affected","packages":["hadoop-yarn"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-25642"},{"vendor":"Red Hat","product":"Red Hat Integration Camel Quarkus 1","cpe":"cpe:/a:redhat:camel_quarkus:2","status":"not_affected","packages":["hadoop-yarn"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-25642"},{"vendor":"Red Hat","product":"Red Hat JBoss Data Grid 7","cpe":"cpe:/a:redhat:jboss_data_grid:7","status":"not_affected","packages":["hadoop-yarn"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-25642"},{"vendor":"Red Hat","product":"Red Hat build of Apache Camel for Spring Boot 3","cpe":"cpe:/a:redhat:camel_spring_boot:3","status":"not_affected","packages":["hadoop-yarn"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-25642"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2024-0794","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-0794","license":"TLP:CLEAR, mirroring permitted","published_at":"2024-04-04T22:00:00Z","modified_at":"2026-08-11T22:00:00Z","summary":"Dell ECS: Mehrere Schwachstellen","details":"Ein Angreifer kann mehrere Schwachstellen in Dell ECS ausnutzen, um seine Privilegien zu erweitern, beliebigen Programmcode mit Administratorrechten auszuführen, Informationen offenzulegen, Dateien zu manipulieren, einen Cross-Site-Scripting-Angriff durchzuführen, Sicherheitsvorkehrungen zu umgehen oder einen Denial of Service Zustand herbeizuführen.\n\nDell ECS ist ein Objektspeichersystem.","severity":[{"type":"BSI","score":"hoch","source":"WID-SEC-W-2024-0794"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0794.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-0794"},{"type":"WEB","url":"https://www.dell.com/support/kbdoc/000223839/dsa-2024-="},{"type":"WEB","url":"https://www.dell.com/support/kbdoc/en-us/000209268/dsa-2023-014-dell-poweredge-server-security-update-for-intel-february-2023-security-advisories-2023-1-ipu"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7282698"}]},{"provider":"cvelistv5","source_id":"CVE-2021-25642","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-25642","license":"CC-BY-4.0","published_at":"2022-08-25T00:00:00Z","modified_at":"2024-08-03T20:11:28.113Z","summary":"Apache Hadoop YARN remote code execution in ZKConfigurationStore of capacity scheduler","details":"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.","severity":[],"affected":[{"ecosystem":"CVE","package":"Apache Software Foundation/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"],"provider":"cvelistv5","source":"CVE-2021-25642","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://lists.apache.org/thread/g6vf2h4wdgzzdgk91mqozhs58wotq150"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20221201-0003/"}]},{"provider":"nvd","source_id":"CVE-2021-25642","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25642","severity":[],"affected":[{"ecosystem":"NVD","package":"apache:hadoop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.0"},{"fixed":"2.10.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.2.4"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.3.0"},{"fixed":"3.3.4"}]}],"fixed":["2.10.2","3.2.4","3.3.4"],"provider":"nvd","source":"CVE-2021-25642","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-rr2m-gffv-mgrj","relation":"self","url":"https://osv.dev/vulnerability/GHSA-rr2m-gffv-mgrj","license":"CC-BY-4.0","published_at":"2022-08-26T00:03:33Z","modified_at":"2024-02-22T05:43:15.326359Z","summary":"Deserialization of Untrusted Data in Apache Hadoop YARN","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GHSA-rr2m-gffv-mgrj"}],"affected":[{"ecosystem":"Maven","package":"org.apache.hadoop:hadoop-yarn-server","purl":"pkg:maven/org.apache.hadoop/hadoop-yarn-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.2"}]}],"versions":["0.23.1","0.23.10","0.23.11","0.23.3","0.23.4","0.23.5","0.23.6","0.23.7","0.23.8","0.23.9","2.0.0-alpha","2.0.1-alpha","2.0.2-alpha","2.0.3-alpha","2.0.4-alpha","2.0.5-alpha","2.0.6-alpha","2.1.0-beta","2.1.1-beta","2.10.0","2.10.1","2.2.0","2.3.0","2.4.0","2.4.1","2.5.0","2.5.1","2.5.2","2.6.0","2.6.1","2.6.2","2.6.3","2.6.4","2.6.5","2.7.0","2.7.1","2.7.2","2.7.3","2.7.4","2.7.5","2.7.6","2.7.7","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.9.0","2.9.1","2.9.2"],"fixed":["2.10.2"],"provider":"osv","source":"GHSA-rr2m-gffv-mgrj","relation":"self"},{"ecosystem":"Maven","package":"org.apache.hadoop:hadoop-yarn-server","purl":"pkg:maven/org.apache.hadoop/hadoop-yarn-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.2.4"}]}],"versions":["3.0.0","3.0.1","3.0.2","3.0.3","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.2.0","3.2.1","3.2.2","3.2.3"],"fixed":["3.2.4"],"provider":"osv","source":"GHSA-rr2m-gffv-mgrj","relation":"self"},{"ecosystem":"Maven","package":"org.apache.hadoop:hadoop-yarn-server","purl":"pkg:maven/org.apache.hadoop/hadoop-yarn-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.3.0"},{"fixed":"3.3.4"}]}],"versions":["3.3.0","3.3.1","3.3.2","3.3.3"],"fixed":["3.3.4"],"provider":"osv","source":"GHSA-rr2m-gffv-mgrj","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25642"},{"type":"WEB","url":"https://github.com/apache/hadoop/commit/5e2f4339fadc88f20543915fc9b0aaeaf4f9e7bf"},{"type":"PACKAGE","url":"https://github.com/apache/hadoop"},{"type":"WEB","url":"https://lists.apache.org/thread/g6vf2h4wdgzzdgk91mqozhs58wotq150"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20221201-0003"}]},{"provider":"redhat-vex","source_id":"CVE-2021-25642","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-25642","license":"CC-BY-4.0","published_at":"2022-08-25T00:00:00Z","modified_at":"2022-12-08T09:14:12Z","summary":"Hadoop: YARN remote code execution in ZKConfigurationStore of capacity scheduler","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2021-25642"},{"type":"Red Hat","score":"Important","source":"CVE-2021-25642"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"not_affected","packages":["hadoop-yarn"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-25642"},{"vendor":"Red Hat","product":"Red Hat Fuse 7","cpe":"cpe:/a:redhat:jboss_fuse:7","status":"not_affected","packages":["hadoop-yarn"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-25642"},{"vendor":"Red Hat","product":"Red Hat Integration Camel K 1","cpe":"cpe:/a:redhat:camel_k:1","status":"not_affected","packages":["hadoop-yarn"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-25642"},{"vendor":"Red Hat","product":"Red Hat Integration Camel Quarkus 1","cpe":"cpe:/a:redhat:camel_quarkus:2","status":"not_affected","packages":["hadoop-yarn"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-25642"},{"vendor":"Red Hat","product":"Red Hat JBoss Data Grid 7","cpe":"cpe:/a:redhat:jboss_data_grid:7","status":"not_affected","packages":["hadoop-yarn"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-25642"},{"vendor":"Red Hat","product":"Red Hat build of Apache Camel for Spring Boot 3","cpe":"cpe:/a:redhat:camel_spring_boot:3","status":"not_affected","packages":["hadoop-yarn"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-25642"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-25642.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-25642"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2127281"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-25642"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25642"},{"type":"WEB","url":"https://lists.apache.org/thread/g6vf2h4wdgzzdgk91mqozhs58wotq150"}]}],"references":[{"type":"WEB","url":"https://lists.apache.org/thread/g6vf2h4wdgzzdgk91mqozhs58wotq150"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20221201-0003/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25642"},{"type":"WEB","url":"https://github.com/apache/hadoop/commit/5e2f4339fadc88f20543915fc9b0aaeaf4f9e7bf"},{"type":"PACKAGE","url":"https://github.com/apache/hadoop"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20221201-0003"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-25642.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-25642"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2127281"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-25642"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2024-0794","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-0794","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-08-11T22:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2021-25642","url":"https://www.cve.org/CVERecord?id=CVE-2021-25642","license":"CC-BY-4.0","modified_at":"2024-08-03T20:11:28.113Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-25642","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25642","relation":"self"},{"provider":"osv","source_id":"GHSA-rr2m-gffv-mgrj","url":"https://osv.dev/vulnerability/GHSA-rr2m-gffv-mgrj","license":"CC-BY-4.0","modified_at":"2024-02-22T05:43:15.326359Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-25642","url":"https://access.redhat.com/security/cve/CVE-2021-25642","license":"CC-BY-4.0","modified_at":"2022-12-08T09:14:12Z","relation":"self"}]}
