peter bassill · operator
$ cve CVE-2022-26612 JSON

CVE-2022-26612

9.8
CRITICAL · CVSS 3.1 · EPSS 4.2% (pctl 91)

In your normal cycle

Critical by CVSS (9.8), but no sign of active exploitation.

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

Scoring

CVSS9.8 (CRITICAL, v3.1)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS4.24% — more likely to be exploited than 91% of all CVEs
WeaknessCWE-59
On CISA KEVno
Public exploitnone known
Published2022-04-07
Last modified2026-06-17

Affected (2)

VendorProduct
apachehadoop
microsoftwindows

References

→ the Explorer  ·  watch your stack  ·  NVD