CVE-2021-37404: Heap buffer overflow in libhdfs native library
Vulnerability summary
CVE-2021-37404 is a critical (CVSS 9.8) Out-of-bounds Write vulnerability in apache software foundation apache hadoop. EPSS estimates a 3.11% chance of exploitation in the next 30 days, higher than 88.1% of scored vulnerabilities.
Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 13-06-2022PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · ChainguardEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · MavenEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
3.11%
Chance of exploitation in the next 30 days
Percentile
88%
Versus all other CVEs
30-day change
No change 0.00 pp
From 3.11% 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 causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- hadoop≥ 2.9.0, < 2.10.2 | ≥ 3.0.0, ≤ 3.1.4 | ≥ 3.2.0, < 3.2.3 | ≥ 3.3.0, < 3.3.2
Apache software foundation1 product
- apache hadoop2.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
Chainguard1 product
- hadoop-fips-3.3.6All versions (No fix recorded)
Org.apache.hadoop1 product
- hadoop-common≥ 3.3.0, < 3.3.2 | ≥ 3.0.0, < 3.2.3 | < 2.10.2
4 vendors · 4 products
References
5 links- github.com/apache/hadoopPACKAGE