Loading...
Skip to main content

CVE-2021-37404 — Vulnerability in org.apache.hadoop:hadoop-common...

CRITICAL

Apache Hadoop heap overflow before v2.10.2, v3.2.3, v3.3.2

Published June 14, 2022Updated February 22, 2024Source: osv

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.

Advisory Timeline

  • First published June 14, 2022 (1582 days ago).
  • Last revised February 22, 2024 — 618 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.hadoop:hadoop-common to 2.10.2 or later
<!-- Update pom.xml dependency version to 2.10.2 for org.apache.hadoop:hadoop-common -->
Maven
Update org.apache.hadoop:hadoop-common to 3.3.2 or later
<!-- Update pom.xml dependency version to 3.3.2 for org.apache.hadoop:hadoop-common -->
Maven
Update org.apache.hadoop:hadoop-common to 3.2.3 or later
<!-- Update pom.xml dependency version to 3.2.3 for org.apache.hadoop:hadoop-common -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.apache.hadoop:hadoop-common
maven
0.22.0, 0.23.1, 0.23.10, 0.23.11 (+48 more)2.10.2
org.apache.hadoop:hadoop-common
maven
3.3.0, 3.3.13.3.2
org.apache.hadoop:hadoop-common
maven
3.0.0, 3.0.1, 3.0.2, 3.0.3 (+8 more)3.2.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2021-37404?
Apache Hadoop heap overflow before v2.10.2, v3.2.3, v3.3.2 This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2021-37404?
CVE-2021-37404 affects org.apache.hadoop:hadoop-common. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-37404 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-rmpj-7c96-mrg8

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies