LiveActive security incident?Get immediate response
CVE Record

CVE-2021-37404: Heap buffer overflow in libhdfs native library

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Apache Hadoop’s native libhdfs library may mishandle user-provided file paths, causing a heap buffer overflow. The reported outcomes are denial of service or arbitrary code execution. Organizations running affected Hadoop versions should prioritize upgrades, especially where applications pass externally influenced paths into HDFS operations.

Executive priority

Treat this as a high-priority upgrade for Hadoop environments because the stated impact includes service outage and possible code execution. Urgency is highest for multi-user, internet-adjacent, or data-platform workloads where untrusted file paths may reach Hadoop native code.

Technical view

CVE-2021-37404 is a CWE-787 heap buffer overflow in Apache Hadoop libhdfs native code. The issue is triggered by opening a user-provided file path without validation. Affected ranges include Hadoop 2.9.0-2.10.1, 3.0.0-3.1.4, 3.2.0-3.2.2, and 3.3.0-3.3.1.

Likely exposure

Exposure is most likely in Hadoop deployments or downstream products using the native libhdfs library in the affected version ranges. Risk is higher where services accept tenant, user, job, or application-controlled file paths and pass them to libhdfs.

Exploitation context

The source bundle does not show CISA KEV listing, public exploitation, or exploit maturity. The disclosed impact includes denial of service and arbitrary code execution, but no exploit steps or active attack evidence are provided.

Researcher notes

No CVSS vector is present in the supplied bundle. Analysis should focus on affected version confirmation, libhdfs usage, and path-control boundaries. Avoid assuming downstream product exposure unless a vendor advisory explicitly confirms it.

Mitigation direction

  • Upgrade Apache Hadoop to 2.10.2, 3.2.3, 3.3.2, or later.
  • Check vendor advisories for products bundling or embedding Apache Hadoop libhdfs.
  • Prioritize systems accepting user-controlled HDFS file paths.
  • Reduce untrusted path input until upgrades are complete.

Validation and detection

  • Inventory Hadoop versions across clusters, clients, and application images.
  • Confirm whether applications load or link the native libhdfs library.
  • Identify workflows passing user-controlled paths into HDFS open operations.
  • Verify upgraded deployments report Hadoop 2.10.2, 3.2.3, 3.3.2, or later.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-787: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-37404 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Apache Software FoundationApache 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.1Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-787 · source CWE mapping

Out-of-bounds Write

Out-of-bounds Write represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.