NetSight
high8.8

CVE-2021-25642

Deserialization of Untrusted Data in Apache Hadoop YARN

Impact

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 packages

EcosystemPackageAffectedFixed in
mavenorg.apache.hadoop:hadoop-yarn-server< 2.10.22.10.2

Affected products

VendorProductAffected versions
ApacheHadoop
from 2.9.0 before 2.10.2
from 3.0.0 before 3.2.4
from 3.3.0 before 3.3.4

Weakness classification

References