Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.hadoop/hadoop-yarn-server
  4. ›
  5. CVE-2021-25642

CVE-2021-25642: Deserialization of Untrusted Data in Apache Hadoop YARN

August 26, 2022 (updated August 30, 2022)

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.

References

  • github.com/advisories/GHSA-rr2m-gffv-mgrj
  • github.com/apache/hadoop/commit/5e2f4339fadc88f20543915fc9b0aaeaf4f9e7bf
  • lists.apache.org/thread/g6vf2h4wdgzzdgk91mqozhs58wotq150
  • nvd.nist.gov/vuln/detail/CVE-2021-25642

Code Behaviors & Features

Detect and mitigate CVE-2021-25642 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.10.2, all versions starting from 3.0.0 before 3.2.4, all versions starting from 3.3.0 before 3.3.4

Fixed versions

  • 2.10.2
  • 3.2.4
  • 3.3.4

Solution

Upgrade to versions 2.10.2, 3.2.4, 3.3.4 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

maven/org.apache.hadoop/hadoop-yarn-server/CVE-2021-25642.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:15 +0000.