CVE-2021-37404 json
Heap buffer overflow in libhdfs native library
published 2022-06-13 4 y ago modified 2026-06-17 4 mo ago also GHSA-rmpj-7c96-mrg8 , EUVD-2022-6150
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.1%
- EPSS 3.1% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
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.
Patch / fix
- maven org.apache.hadoop:hadoop-common 2.10.2, 3.2.3, 3.3.2
- apache hadoop 2.10.2, 3.2.3, 3.3.2
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-37404 updated cvss 9.8
hadoop-hdfs: Heap buffer overflow in Apache Hadoop libhdfs
-
Red Hat JBoss Fuse 6 hadoop-hdfs hadoop-hdfsaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 openshift4/ose-metering-hive, openshift4/ose-metering-hadoop, openshift4/ose-metering-prestoaffected: no fix available “Fix deferred”
-
Red Hat Fuse 7 hadoop-hdfs hadoop-hdfsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.11% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.hadoop:hadoop-common | >=3.3.0, <3.3.2 >=3.0.0, <3.2.3 <2.10.2 |
3.3.2 3.2.3 2.10.2 |
Affected products
- Apache Software Foundation Apache Hadoop
Classification
References
-
lists.apache.org
/thread/2h56ztcj3ojc66qzf1nno88vjw9vd4wo
web, mailing-list
-
security.netapp.com
/advisory/ntap-20220715-0007/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-37404
advisory
-
github.com
/apache/hadoop
package
-
security.netapp.com
/advisory/ntap-20220715-0007
web
Sources
- CVE List CVE-2021-37404
- GitHub Advisory GHSA-rmpj-7c96-mrg8
- NVD CVE-2021-37404
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.