NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
HIGH severity

CVE-2021-25642 — hadoop-yarn-server

HIGHFix: apache/hadoop@5e2f433

CVE-2021-25642 is a high-severity (CVSS 8.8) Deserialization of Untrusted Data vulnerability in org.apache.hadoop:hadoop-yarn-server. A fix is available for org.apache.hadoop:hadoop-yarn-server — see the affected versions and patch details below.

Deserialization of Untrusted Data in Apache Hadoop YARN

Also known asGHSA-rr2m-gffv-mgrj
Published
Updated
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed
Exploitation data as of Nov 5, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
2.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs83th percentile — riskier than 83% of all scored CVEsHighest risk
1.32%1.95%2.57%3.20%2.7%2.3%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

3 pkgs affected
☕org.apache.hadoop:hadoop-yarn-server☕org.apache.hadoop:hadoop-yarn-server☕org.apache.hadoop:hadoop-yarn-server

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

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 Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.apache.hadoop:hadoop-yarn-serverall versions2.10.2org.apache.hadoop:hadoop-yarn-server:2.10.2
☕Mavenorg.apache.hadoop:hadoop-yarn-server≥ 3.0.0&&< 3.2.43.2.4org.apache.hadoop:hadoop-yarn-server:3.2.4
☕Mavenorg.apache.hadoop:hadoop-yarn-server≥ 3.3.0&&< 3.3.43.3.4org.apache.hadoop:hadoop-yarn-server:3.3.4

Affected Products

1 product · 3 configurations
Application
hadoopapache
≥ 3.3.0 && < 3.3.4
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.hadoop:hadoop-yarn-server, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.apache.hadoop:hadoop-yarn-server to 2.10.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-25642 is resolved across your whole dependency graph.

  3. Workarounds

    Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2021-25642 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2021-25642: hadoop-yarn-server — Fixed in 2.10.2