CVE-2022-26612 Details
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 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.apache.org/thread/hslo7wzw2449gv1jyjk8g6ttd7935fyz | CVE | ExploitVendor Advisory |
| https://security.netapp.com/advisory/ntap-20220519-0004/ | CVE | Third Party Advisory |
| https://lists.apache.org/thread/hslo7wzw2449gv1jyjk8g6ttd7935fyz | [email protected] | ExploitVendor Advisory |
| https://security.netapp.com/advisory/ntap-20220519-0004/ | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache hadoop | < 3.2.3 3.3.1 - 3.3.2 - |
CPE
Remediation
| |
| microsoft windows | All versions |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 8, 2023 | CWE Remap | [email protected] |
| Sep 9, 2022 | Modified Analysis | [email protected] |
| May 19, 2022 | CVE Modified | [email protected] |
| Apr 15, 2022 | Initial Analysis | [email protected] |