CVE-2021-37404Apache Hadoop
Critical 9.8 No auth needed
Follow: this CVE · Apache · Apache Hadoop We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.1% probability of exploitation in 30 days · percentile 89
- Auth required
- No
- Published
- Jun 13, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Hadoop.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.hadoop:hadoop-common |
≥ 3.3.0 < 3.3.2 |
3.3.2 |
— |
| Maven | org.apache.hadoop:hadoop-common |
≥ 3.0.0 < 3.2.3 |
3.2.3 |
— |
| Maven | org.apache.hadoop:hadoop-common |
< 2.10.2 |
2.10.2 |
— |
Per OSV / GitHub Advisories (GHSA-rmpj-7c96-mrg8). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | hadoop | ≥ 2.9.0 < 2.10.2 |
| apache | hadoop | ≥ 3.0.0 ≤ 3.1.4 |
| apache | hadoop | ≥ 3.2.0 < 3.2.3 |
| apache | hadoop | ≥ 3.3.0 < 3.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Mailing List
- security.netapp.com Third Party Advisory