CVE-2022-26612
Java vulnerability analysis and mitigation

Overview

Apache Hadoop versions prior to 3.2.3 and 3.3.1 through 3.3.2 contain a vulnerability in the unTar function (CVE-2022-26612). The vulnerability was discovered in early 2022 and publicly disclosed in April 2022. The issue affects the FileUtil component, specifically the unpackEntries functionality on Windows systems (GitHub Advisory).

Technical details

The vulnerability exists in the unTar function which uses unTarUsingJava function on Windows and the built-in tar utility on Unix systems. While the function verifies that extracted TAR entries are under the expected targetDirPath, it fails to apply the same restriction to extracted symlinks. On Windows systems, the getCanonicalPath doesn't resolve symbolic links, which allows bypassing the directory traversal check (GitHub Advisory).

Impact

The vulnerability has been assessed with a CVSS v3.1 base score of 9.8 (CRITICAL), with the vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Successful exploitation could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS) (NetApp Advisory).

Mitigation and workarounds

The vulnerability was fixed in Apache Hadoop versions 3.2.3 and 3.3.2. The fix was implemented in the main branch on March 10, 2022, and version 3.2.3 with the fix was released on March 28, 2022 (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14306CRITICAL10
  • JavaJava
  • net.sf.robocode:robocode.core
NoYesDec 09, 2025
CVE-2025-14307CRITICAL9.3
  • JavaJava
  • net.sf.robocode:robocode.battle
NoYesDec 09, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • at.yawk.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
GHSA-93fv-4pm9-xp28MEDIUM6.9
  • JavaJava
  • net.dv8tion:jda
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management