CVE-2021-33036: Apache Hadoop Privilege escalation vulnerability
Vulnerability summary
CVE-2021-33036 is a high (CVSS 9.0) Path Traversal: '../filedir' vulnerability in apache software foundation apache hadoop. EPSS estimates a 4.03% chance of exploitation in the next 30 days, higher than 90.9% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 15-06-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
4.03%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
No change 0.00 pp
From 4.03% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-24Path Traversal: '../filedir'The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" sequences that can resolve to a location that is outside of that directory.
- CWE-264Permissions, Privileges, and Access ControlsWeaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.
- CWE-22Improper Limitation of a Pathname to a Restricted DirectoryThe product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- hadoopEOL≥ 2.2.0, < 2.10.2 | ≥ 3.0.1, < 3.2.3 | ≥ 3.3.0, < 3.3.2 | 3.0.0:alpha1 | 3.0.0:alpha2 | 3.0.0:alpha3 | 3.0.0:alpha4
Apache software foundation1 product
- apache hadoop2.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
Org.apache.hadoop1 product
- hadoop-yarn-server-common≥ 2.2.0, < 2.10.2 | ≥ 3.0.0, < 3.2.3 | ≥ 3.3.0, < 3.3.2
3 vendors · 3 products
References
9 links- lists.apache.org/thread/ctr84rmo3xd2tzqcx2b277c8z692vhl5X Refsource MISCWEBMailing ListVendor Advisory
- www.openwall.com/lists/oss-security/2022/06/15/2Mailing ListX Refsource MLISTWEBThird Party Advisory
- github.com/apache/hadoopPACKAGE