Heap buffer overflow in libhdfs native library
Priority MEDIUM 48CWE-787Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.03108 87th percentileScored 2026-11-07
Fix Partial org.apache.hadoop:hadoop-common (Maven): 3.3.2, 3.2.3, 2.10.2Red Hat: 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Hadoop | 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 | — | No fix listed | CNA |
| — | org.apache.hadoop:hadoop-common (Maven) | 3.3.0 to before 3.3.2 | 3.3.2 | Patch available | GHSA-rmpj-7c96-mrg8 |
| — | org.apache.hadoop:hadoop-common (Maven) | 3.0.0 to before 3.2.3 | 3.2.3 | Patch available | GHSA-rmpj-7c96-mrg8 |
| — | org.apache.hadoop:hadoop-common (Maven) | before 2.10.2 | 2.10.2 | Patch available | GHSA-rmpj-7c96-mrg8 |
- Apache Hadoop VendorApache Affected 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 Fixed in — No fix listed CNA
- org.apache.hadoop:hadoop-common (Maven) Vendor— Affected 3.3.0 to before 3.3.2 Fixed in 3.3.2 Patch available GHSA-rmpj-7c96-mrg8
- org.apache.hadoop:hadoop-common (Maven) Vendor— Affected 3.0.0 to before 3.2.3 Fixed in 3.2.3 Patch available GHSA-rmpj-7c96-mrg8
- org.apache.hadoop:hadoop-common (Maven) Vendor— Affected before 2.10.2 Fixed in 2.10.2 Patch available GHSA-rmpj-7c96-mrg8
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apache:hadoop:*:*:*:*:*:*:*:* | 2.9.0 to before 2.10.2; 3.0.0 – 3.1.4; 3.2.0 to before 3.2.3; 3.3.0 to before 3.3.2 | Vulnerable | Apache |
- cpe:2.3:a:apache:hadoop:*:*:*:*:*:*:*:* Versions 2.9.0 to before 2.10.2; 3.0.0 – 3.1.4; 3.2.0 to before 3.2.3; 3.3.0 to before 3.3.2 Vulnerable ·Apache
Remediation
- Fix · GHSA-rmpj-7c96-mrg8 org.apache.hadoop:hadoop-common (Maven) Fixed in 3.3.2 Advisory →
- Fix · GHSA-rmpj-7c96-mrg8 org.apache.hadoop:hadoop-common (Maven) Fixed in 3.2.3 Advisory →
- Fix · GHSA-rmpj-7c96-mrg8 org.apache.hadoop:hadoop-common (Maven) Fixed in 2.10.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat JBoss Fuse 6 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat Fuse 7
Timeline
- 2026-10-02 Threatist record created from CVE-2021-37404
- 2026-10-03 Alias added: GHSA-rmpj-7c96-mrg8
References
More Apache Hadoop vulnerabilities
- TI-2019-12818 Connect2id Nimbus JOSE+JWT before v7.9 can throw various uncaught exceptions while… CVSS 3.1CRITICAL 9.8
- TI-2022-09898 Arbitrary file write in FileUtil#unpackEntries on Windows CVSS 3.1CRITICAL 9.8
- TI-2022-08881 Command injection in org.apache.hadoop.fs.FileUtil.unTarUsingTar CVSS 3.1CRITICAL 9.8
- TI-2018-05786 Path traversal in Apache Hadoop CVSS 3.0HIGH 8.8
- TI-2017-11489 Information disclosure in Apache Hadoop CVSS 3.0CRITICAL 9.8
- TI-2016-02585 Information disclosure in Apache Hadoop CVSS 3.0CRITICAL 9.8
Sources
- CVE-2021-37404 · CVE Program
- CVE-2021-37404 · NVD
- FIRST EPSS
- GHSA-rmpj-7c96-mrg8 · GitHub Advisory Database · CC BY 4.0
- CVE-2021-37404 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences