CVE-2021-33036: apache software foundation apache hadoop Path Traversal: '../filedir'
CVSS: 9.0v2.0HighModified
AliasesGHSA-58jx-f5rf-qgqf
Published 15-06-2022Last modified 03-08-2024
Vulnerability summary
CVE-2021-33036 is a high (CVSS 9.0) Path Traversal: '../filedir' vulnerability in apache software foundation apache hadoop. EPSS estimates a 3.97% chance of exploitation in the next 30 days, higher than 90.3% of scored vulnerabilities.
CVSS score
9.0/10
010
High · v2.0 (NVD)EPSS score
3.97%
0%100%
Low · +0.09 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
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 versionsHigh 8.8Preferred score · OSV · Maven (Ecosystem advisory) · calculated from vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HSourcesAll 2 agree
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
High 9.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:S/C:C/I:C/A:CSourcesSingle source
EPSS trend
Probability
3.97%
Chance of exploitation in the next 30 days
Percentile
90%
Versus all other CVEs
30-day change
+0.09 pp
From 3.88% on 18-09-2026
18-09-202618-10-2026
EPSS score3.97%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
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 Directory ('Path Traversal')The 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
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