Live threats

All CVEs / Apache

CVE-2021-25642Apache Hadoop

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
2.3%
probability of exploitation in 30 days · percentile 84
Auth required
Yes
Published
Aug 25, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Hadoop.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.hadoop:hadoop-yarn-server < 2.10.2 2.10.2 —
Maven org.apache.hadoop:hadoop-yarn-server ≥ 3.0.0 < 3.2.4 3.2.4 —
Maven org.apache.hadoop:hadoop-yarn-server ≥ 3.3.0 < 3.3.4 3.3.4 —

Per OSV / GitHub Advisories (GHSA-rr2m-gffv-mgrj). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachehadoop≥ 2.9.0 < 2.10.2
apachehadoop≥ 3.0.0 < 3.2.4
apachehadoop≥ 3.3.0 < 3.3.4

Official sources

References

Links published by the sources. Open them with care.