patchminder
No public exploit found CVE-2021-37404

Code executionin Apache Hadoop.

Published 13 Jun 2022 · Updated 4 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 3.1% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 2.10.2, 3.2.3, 3.3.2
In plain words

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 now
  • Upgrade org.apache.hadoop:hadoop-common (Maven) to 2.10.2, 3.2.3, 3.3.2 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Apache Hadoop
2.9.0 to 2.10.1
Not confirmed
CVE record
Apache Hadoop
3.0.0 to 3.1.4
Not confirmed
CVE record
Apache Hadoop
3.2.0 to 3.2.2
Not confirmed
CVE record
Apache Hadoop
3.3.0 to 3.3.1
Not confirmed
CVE record
org.apache.hadoop:hadoop-common (Maven)
3.3.0 to before 3.3.2
3.3.2
GitHub advisory
org.apache.hadoop:hadoop-common (Maven)
3.0.0 to before 3.2.3
3.2.3
GitHub advisory
org.apache.hadoop:hadoop-common (Maven)
before 2.10.2
2.10.2
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 23 Jul 2021
    CVE ID reserved by apache.
  2. 13 Jun 2022
    Published in the CVE List.
  3. 4 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Hadoop vulnerabilities

Same weakness: Out-of-bounds write

All CWE-787 vulnerabilities

References
Cite this page

Patchminder. CVE-2021-37404: Code execution in Apache Hadoop. https://patchminder.com/cve/cve-2021-37404/ (accessed 5 December 2026).