Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.hadoop/hadoop-hdfs-native-client
  4. ›
  5. CVE-2021-37404

CVE-2021-37404: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

June 13, 2022 (updated June 27, 2023)

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.

References

  • lists.apache.org/thread/2h56ztcj3ojc66qzf1nno88vjw9vd4wo
  • nvd.nist.gov/vuln/detail/CVE-2021-37404

Code Behaviors & Features

Detect and mitigate CVE-2021-37404 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.9.0 before 2.10.2, all versions starting from 3.0.0 up to 3.1.4, all versions starting from 3.2.0 before 3.2.3, all versions starting from 3.3.0 before 3.3.2

Fixed versions

  • 2.10.2
  • 3.2.3
  • 3.3.2

Solution

Upgrade to versions 2.10.2, 3.2.3, 3.3.2 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

maven/org.apache.hadoop/hadoop-hdfs-native-client/CVE-2021-37404.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:54 +0000.