RCE in Apache Hadoop

CVE-2022-25168

Apache Hadoop's FileUtil.unTar(File, File) API does not escape the input file name before being passed to the shell. An attacker can inject arbitrary commands. This is only used in Hadoop 3.3 InMemoryAliasMap.completeBootstrapTransfer, whi…

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.033 (86.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-25168?
CVE-2022-25168 is a critical-severity vulnerability in Apache Hadoop, classified under OS Command Injection. CVSS score: 9.8/10. Published 2022-08-04.
How severe is CVE-2022-25168?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2022-25168 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.