CVE-2022-26612Link Following in Software Foundation Apache Hadoop

Severity
9.8CRITICALNVD
EPSS
0.2%
top 59.21%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 7
Latest updateOct 15

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, getCanonicalP

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages2 packages

NVDapache/hadoop< 3.2.3+2
CVEListV5apache_software_foundation/apache_hadoopunspecified3.2.3+2

🔴Vulnerability Details

3
GHSA
Path traversal in Hadoop2022-04-08
OSV
Path traversal in Hadoop2022-04-08
CVEList
Arbitrary file write in FileUtil#unpackEntries on Windows2022-04-07

📋Vendor Advisories

3
Oracle
Oracle Oracle Analytics Risk Matrix: Analytics Server (Apache Hadoop) — CVE-2022-266122023-10-15
Red Hat
hadoop: Arbitrary file write in FileUtil#unpackEntries on Windows2022-04-07
Apache
Apache hadoop: CVE-2022-26612
CVE-2022-26612 — Link Following | cvebase