{"schemaVersion":3,"id":"CVE-2021-37404","aliases":["CGA-4r66-6vff-42j4","CGA-5j2x-3f24-3jxf","GHSA-rmpj-7c96-mrg8","CGA-qw7f-4rw5-j732","CGA-wx96-vq2q-hcjv"],"status":"published","duplicateOf":null,"title":null,"description":"There is a potential heap buffer overflow in Apache Hadoop libhdfs native code. Opening a file path provided by user without validation may result in a denial of service or arbitrary code execution. Users should upgrade to Apache Hadoop 2.10.2, 3.2.3, 3.3.2 or higher.","dates":{"published":"2022-06-13T07:00:16.000Z","modified":"2024-08-04T01:16:03.989Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/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":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02993,"percentile":0.87127,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":-0.17500000000000016,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.03168},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03168,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03168,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03168,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03168,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03168,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03168,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03168,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02993,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02993,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02993,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02993,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02993,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02993,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02993,"percentile":0.87127}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.03168,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03168,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03168,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02922,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02993,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02993,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02993,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02993,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02993,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02993,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02993,"percentile":0.87127}]},"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-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.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.9.0 to 2.10.1","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0 to 3.1.4","noFixRecorded":false,"fixedIn":null},{"text":"3.2.0 to 3.2.2","noFixRecorded":false,"fixedIn":null},{"text":"3.3.0 to 3.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.9.0 to 2.10.1 | 3.0.0 to 3.1.4 | 3.2.0 to 3.2.2 | 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.9.0, < 2.10.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, ≤ 3.1.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.2.0, < 3.2.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.3.0, < 3.3.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.9.0, < 2.10.2 | ≥ 3.0.0, ≤ 3.1.4 | ≥ 3.2.0, < 3.2.3 | ≥ 3.3.0, < 3.3.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-hadoop","label":"Apache Hadoop","category":"database"}},"hubHref":"/vendor/apache/hadoop"},{"vendor":"chainguard","product":"hadoop-fips-3.3.6","name":"hadoop-fips-3.3.6","label":"hadoop-fips-3.3.6","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/hadoop-fips-3.3.6","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"org.apache.hadoop","product":"hadoop-common","name":"org.apache.hadoop:hadoop-common","label":"hadoop-common","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.hadoop/hadoop-common","purlType":"maven","versions":[{"text":"≥ 3.3.0, < 3.3.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.2.3","noFixRecorded":false,"fixedIn":null},{"text":"< 2.10.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.3.0, < 3.3.2 | ≥ 3.0.0, < 3.2.3 | < 2.10.2","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/2h56ztcj3ojc66qzf1nno88vjw9vd4wo","label":"lists.apache.org/thread/2h56ztcj3ojc66qzf1nno88vjw9vd4wo","hostname":"lists.apache.org","tags":["X Refsource MISC","ARTICLE","WEB","Mailing List"]},{"url":"https://security.netapp.com/advisory/ntap-20220715-0007/","label":"security.netapp.com/advisory/ntap-20220715-0007/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Advisory","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37404","label":"nvd.nist.gov/vuln/detail/CVE-2021-37404","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/hadoop","label":"github.com/apache/hadoop","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://security.netapp.com/advisory/ntap-20220715-0007","label":"security.netapp.com/advisory/ntap-20220715-0007","hostname":"security.netapp.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-06-13T07:00:16.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T01:16:03.989Z","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-19T04:52:42.727Z","stale":false,"partial":false}}