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

CVE-2021-37404: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

June 14, 2022 (updated June 17, 2022)

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

  • github.com/advisories/GHSA-rmpj-7c96-mrg8
  • 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 before 2.10.2, All versions starting from 3.0.0 before 3.2.3, all versions starting from 3.3.0 before 3.3.2.

Fixed versions

  • 3.2.3

Solution

Upgrade to versions 3.2.3 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-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

maven/org.apache.hadoop/hadoop-common/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:59 +0000.