{"schemaVersion":3,"id":"CVE-2021-33036","aliases":["GHSA-58jx-f5rf-qgqf"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-06-15T14:25:14.000Z","modified":"2024-08-03T23:42:19.282Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9,"severity":"high","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03971,"percentile":0.90345,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.09400000000000033,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.03877},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03773,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03773,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03773,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03971,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03971,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03971,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03971,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03971,"percentile":0.90345}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03877,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03971,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03971,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03971,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03971,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03971,"percentile":0.90345}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-24","name":"Path Traversal: '../filedir'","description":"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.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/24.html"},{"id":"CWE-264","name":"Permissions, Privileges, and Access Controls","description":"Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.","type":"category","status":"Obsolete","abstraction":null,"likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/264.html"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"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.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"apache software foundation","product":"apache hadoop","name":"Apache Hadoop","label":"apache hadoop","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"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","noFixRecorded":false,"fixedIn":null}],"versionsText":"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","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_hadoop"},{"vendor":"apache","product":"hadoop","name":"hadoop","label":"hadoop","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.2.0, < 2.10.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.1, < 3.2.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.3.0, < 3.3.2","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0:alpha1","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0:alpha2","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0:alpha3","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0:alpha4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":{"isEol":true,"eolDate":"2018-06-10T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"3.0","label":"3.0","eolFrom":"2018-06-10T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"3.0.3"},"product":{"name":"apache-hadoop","label":"Apache Hadoop","category":"database"}},"hubHref":"/vendor/apache/hadoop"},{"vendor":"org.apache.hadoop","product":"hadoop-yarn-server-common","name":"org.apache.hadoop:hadoop-yarn-server-common","label":"hadoop-yarn-server-common","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.hadoop/hadoop-yarn-server-common","purlType":"maven","versions":[{"text":"≥ 2.2.0, < 2.10.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.2.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.3.0, < 3.3.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.2.0, < 2.10.2 | ≥ 3.0.0, < 3.2.3 | ≥ 3.3.0, < 3.3.2","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://lists.apache.org/thread/ctr84rmo3xd2tzqcx2b277c8z692vhl5","label":"lists.apache.org/thread/ctr84rmo3xd2tzqcx2b277c8z692vhl5","hostname":"lists.apache.org","tags":["X Refsource MISC","WEB","Mailing List","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2022/06/15/2","label":"www.openwall.com/lists/oss-security/2022/06/15/2","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","WEB","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220722-0003/","label":"security.netapp.com/advisory/ntap-20220722-0003/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33036","label":"nvd.nist.gov/vuln/detail/CVE-2021-33036","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/hadoop/commit/227d64ab59e8aa6477769b2542ad0cd7a6d855cb","label":"github.com/apache/hadoop/commit/227d64ab59e8aa6477769b2542ad0cd7a6d855cb","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/hadoop/commit/45801fba8b00257ab32c02a7d1a05948ba687a49","label":"github.com/apache/hadoop/commit/45801fba8b00257ab32c02a7d1a05948ba687a49","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/hadoop/commit/ba041fe6d34215f075e0a7b2078d7273147e14b7","label":"github.com/apache/hadoop/commit/ba041fe6d34215f075e0a7b2078d7273147e14b7","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/hadoop","label":"github.com/apache/hadoop","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://security.netapp.com/advisory/ntap-20220722-0003","label":"security.netapp.com/advisory/ntap-20220722-0003","hostname":"security.netapp.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-06-15T14:25:14.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T23:42:19.282Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T02:16:30.810Z","stale":false,"partial":false}}