8.8high
Apache Hadoop YARN remote code execution in ZKConfigurationStore of capacity scheduler
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 2.27% (higher than 83% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-rr2m-gffv-mgrj
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Hadoop | 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 | CVE List |
| org.apache.hadoop:hadoop-yarn-server (Maven) | before 2.10.2, from 3.0.0 before 3.2.4, from 3.3.0 before 3.3.4 | GitHub Advisory Database |
| apache hadoop | from 2.9.0 before 2.10.2, from 3.0.0 before 3.2.4, from 3.3.0 before 3.3.4 | NVD |
All scores
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
ZKConfigurationStore que es usado opcionalmente por CapacityScheduler de Apache Hadoop YARN de serializa los datos obtenidos de ZooKeeper sin comprobación. Un atacante que tenga acceso a ZooKeeper puede ejecutar comandos arbitrarios como usuario de YARN al aprovechar esto. Los usuarios deben actualizar a Apache Hadoop versiones 2.10.2, 3.2.4, 3.3.4 o posteriores (que contengan YARN-11126) si es usado ZKConfigurationStore.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-25642 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rr2m-gffv-mgrj changed 2024-02-22 | CC-BY-4.0 |
| NVD | CVE-2021-25642 changed 2026-06-17 | Public domain |