CVE-2022-26612

CriticalCVSS 9.8/10Last modified Jun 17, 2026

Description

In Apache Hadoop, The unTar function uses unTarUsingJava function on Windows and the built-in tar utility on Unix and other OSes. As a result, a TAR entry may create a symlink under the expected extraction directory which points to an external directory. A subsequent TAR entry may extract an arbitrary file into the external directory using the symlink name. This however would be caught by the same targetDirPath check on Unix because of the getCanonicalPath call. However on Windows, getCanonicalPath doesn't resolve symbolic links, which bypasses the check. unpackEntries during TAR extraction follows symbolic links which allows writing outside expected base directory on Windows. This was addressed in Apache Hadoop 3.2.3

Metrics

CVSS 3.1 9.8/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Apr 7, 2022
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2022

CVE-2022-266139.8PHP-CMS v1.0 was discovered to contain a SQL injection vulnerability via the category parameter in categorymenu.php.CVE-2022-266155.4A cross-site scripting (XSS) vulnerability in College Website Content Management System v1.0 allows attackers to execute arbitrary web scripCVE-2022-266166.1PKP Vendor Open Journal System v2.4.8 to v3.3.8 allows attackers to perform reflected cross-site scripting (XSS) attacks via crafted HTTP heCVE-2022-266197.5Halo Blog CMS v1.4.17 was discovered to allow attackers to upload arbitrary files via the Attachment Upload function.CVE-2022-26629.8Sequi PortBloque S has a improper authentication issues which may allow an attacker to bypass the authentication process and gain user-levelCVE-2022-266246.1Bootstrap v3.1.11 and v3.3.7 was discovered to contain a cross-site scripting (XSS) vulnerability via the Title parameter in /vendor/views/aCVE-2022-266278.8Online Project Time Management System v1.0 was discovered to contain an arbitrary file write vulnerability which allows attackers to executeCVE-2022-266289.8Matrimony v1.0 was discovered to contain a SQL injection vulnerability via the Password parameter.CVE-2022-266299.1An Access Control vulnerability exists in SoroushPlus+ Messenger 1.0.30 in the Lock Screen Security Feature function due to insufficient perCVE-2022-26635.3An issue was found in the Linux kernel in nf_conntrack_irc where the message handling can be confused and incorrectly matches the message. ACVE-2022-266308.8Jellycms v3.8.1 and below was discovered to contain an arbitrary file upload vulnerability via \app.\admin\Controllers\db.php.CVE-2022-266319.8Automatic Question Paper Generator v1.0 contains a Time-Based Blind SQL injection vulnerability via the id GET parameter.
CVE-2022-26612: Critical severity, CVSS 9.8 | Vulnix