Read the docs
TI-2021-07775 Aliases CVE-2021-25642GHSA-rr2m-gffv-mgrj

Apache Hadoop YARN remote code execution in ZKConfigurationStore of capacity scheduler

Priority MEDIUM 42CWE-502Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-502.

Summary

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.

Why it matters now

EPSS 0.02304 83rd percentileScored 2026-11-07
Fix Fixed org.apache.hadoop:hadoop-yarn-server (Maven): 2.10.2, 3.2.4, 3.3.4

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache 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.3—No fix listedCNA
—org.apache.hadoop:hadoop-yarn-server (Maven)before 2.10.22.10.2Patch availableGHSA-rr2m-gffv-mgrj
—org.apache.hadoop:hadoop-yarn-server (Maven)3.0.0 to before 3.2.43.2.4Patch availableGHSA-rr2m-gffv-mgrj
—org.apache.hadoop:hadoop-yarn-server (Maven)3.3.0 to before 3.3.43.3.4Patch availableGHSA-rr2m-gffv-mgrj
  • Apache Hadoop VendorApache Affected 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 Fixed in — No fix listed CNA
  • org.apache.hadoop:hadoop-yarn-server (Maven) Vendor— Affected before 2.10.2 Fixed in 2.10.2 Patch available GHSA-rr2m-gffv-mgrj
  • org.apache.hadoop:hadoop-yarn-server (Maven) Vendor— Affected 3.0.0 to before 3.2.4 Fixed in 3.2.4 Patch available GHSA-rr2m-gffv-mgrj
  • org.apache.hadoop:hadoop-yarn-server (Maven) Vendor— Affected 3.3.0 to before 3.3.4 Fixed in 3.3.4 Patch available GHSA-rr2m-gffv-mgrj

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:hadoop:*:*:*:*:*:*:*:*2.9.0 to before 2.10.2; 3.0.0 to before 3.2.4; 3.3.0 to before 3.3.4VulnerableApache
  • cpe:2.3:a:apache:hadoop:*:*:*:*:*:*:*:* Versions 2.9.0 to before 2.10.2; 3.0.0 to before 3.2.4; 3.3.0 to before 3.3.4 Vulnerable ·Apache

Remediation

  • Fix · GHSA-rr2m-gffv-mgrj org.apache.hadoop:hadoop-yarn-server (Maven) Fixed in 2.10.2 Advisory →
  • Fix · GHSA-rr2m-gffv-mgrj org.apache.hadoop:hadoop-yarn-server (Maven) Fixed in 3.2.4 Advisory →
  • Fix · GHSA-rr2m-gffv-mgrj org.apache.hadoop:hadoop-yarn-server (Maven) Fixed in 3.3.4 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

Not affected: 6 products
  • Logging Subsystem for Red Hat OpenShift
  • Red Hat Fuse 7
  • Red Hat Integration Camel K 1
  • Red Hat Integration Camel Quarkus 1
  • Red Hat JBoss Data Grid 7
  • Red Hat build of Apache Camel for Spring Boot 3

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-25642
  2. 2026-10-03 Alias added: GHSA-rr2m-gffv-mgrj

References

  • TI-2019-12818 Connect2id Nimbus JOSE+JWT before v7.9 can throw various uncaught exceptions while… CVSS 3.1CRITICAL 9.8
  • TI-2022-09898 Arbitrary file write in FileUtil#unpackEntries on Windows CVSS 3.1CRITICAL 9.8
  • TI-2022-08881 Command injection in org.apache.hadoop.fs.FileUtil.unTarUsingTar CVSS 3.1CRITICAL 9.8
  • TI-2021-15353 Heap buffer overflow in libhdfs native library CVSS 3.1CRITICAL 9.8
  • TI-2018-05786 Path traversal in Apache Hadoop CVSS 3.0HIGH 8.8
  • TI-2017-11489 Information disclosure in Apache Hadoop CVSS 3.0CRITICAL 9.8
See all 36 →

Sources