Security mailing lists by PureSourceCode

CVE-2021-25642

HIGH 8.8CVSS 3.1

Deserialization of Untrusted Data in Apache Hadoop YARN

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.

Published
25 Aug 2022
Last modified
17 Jun 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-502
Also known as
GHSA-rr2m-gffv-mgrj
Sources
NVDJSONOSV GHSA-rr2m-gffv-mgrjJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache hadoop
cpe:2.3:a:apache:hadoop:*:*:*:*:*:*:*:*
>= 2.9.0, < 2.10.2 2.10.2
NVD apache hadoop
cpe:2.3:a:apache:hadoop:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.2.4 3.2.4
NVD apache hadoop
cpe:2.3:a:apache:hadoop:*:*:*:*:*:*:*:*
>= 3.3.0, < 3.3.4 3.3.4
OSV Maven org.apache.hadoop:hadoop-yarn-server < 2.10.2 2.10.2
OSV Maven org.apache.hadoop:hadoop-yarn-server >= 3.0.0, < 3.2.4 3.2.4
OSV Maven org.apache.hadoop:hadoop-yarn-server >= 3.3.0, < 3.3.4 3.3.4

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 25 Aug 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 26 Aug 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.