PT-2022-2441

CVE-2022-26612

·

Published

2022-03-07

·

Updated

2026-11-13

Description by

CVSS 2.0
10
Critical
MetricsAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Apache Hadoop versions prior to 3.2.3
Description The issue is related to the unTar function in Apache Hadoop, which uses the unTarUsingJava function on Windows and the built-in tar utility on Unix and other OSes. This can lead to a TAR entry creating a symlink under the expected extraction directory, pointing to an external directory. A subsequent TAR entry may then extract an arbitrary file into the external directory using the symlink name. On Windows, the getCanonicalPath call does not resolve symbolic links, bypassing the targetDirPath check and allowing writing outside the expected base directory.
Recommendations For Apache Hadoop versions prior to 3.2.3, update to Apache Hadoop 3.2.3 to address the issue. As a temporary workaround, consider restricting the use of the unTar function on Windows systems until the update is applied.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-GX2C-FVHC-PH4J
DHI-WLIP-3K67-7WT2-KHGQ
OESA-2022-2092
Found an issue in the description? Have something to add? Feel free to write us 👾