CVE-2021-33036 is a high-severity (CVSS 8.8) CWE-24 vulnerability in org.apache.hadoop:hadoop-yarn-server-common. A fix is available for org.apache.hadoop:hadoop-yarn-server-common — see the affected versions and patch details below.
User account escalation in Apache Hadoop
EPSS Exploitation Probability
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
org.apache.hadoop:hadoop-yarn-server-common☕org.apache.hadoop:hadoop-yarn-server-common☕org.apache.hadoop:hadoop-yarn-server-commonReal-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
In Apache Hadoop 2.2.0 to 2.10.1, 3.0.0-alpha1 to 3.1.4, 3.2.0 to 3.2.2, and 3.3.0 to 3.3.1, a user who can escalate to yarn user can possibly run arbitrary commands as root user. Users should upgrade to Apache Hadoop 2.10.2, 3.2.3, 3.3.2 or higher.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.hadoop:hadoop-yarn-server-common | ≥ 2.2.0&&< 2.10.2 | 2.10.2org.apache.hadoop:hadoop-yarn-server-common:2.10.2 |
| ☕Maven | org.apache.hadoop:hadoop-yarn-server-common | ≥ 3.0.0&&< 3.2.3 | 3.2.3org.apache.hadoop:hadoop-yarn-server-common:3.2.3 |
| ☕Maven | org.apache.hadoop:hadoop-yarn-server-common | ≥ 3.3.0&&< 3.3.2 | 3.3.2org.apache.hadoop:hadoop-yarn-server-common:3.3.2 |
Affected Products
hadoopapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.hadoop:hadoop-yarn-server-common, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.hadoop:hadoop-yarn-server-common to 2.10.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-33036 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is CVE-2021-33036 in your dependencies?
Find it across Maven, including transitive dependencies.