CVE-2021-25642
JSON

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 packageVersionsReported by
Apache Software Foundation Apache Hadoop2.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.3CVE 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.4GitHub Advisory Database
apache hadoopfrom 2.9.0 before 2.10.2, from 3.0.0 before 3.2.4, from 3.3.0 before 3.3.4NVD

All scores

GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS: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

SourceRecordLicence
CVE ListCVE-2021-25642 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-rr2m-gffv-mgrj changed 2024-02-22CC-BY-4.0
NVDCVE-2021-25642 changed 2026-06-17Public domain