Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-26612

published

Arbitrary file write in FileUtil#unpackEntries on Windows

Published
07 Apr 2022, 18:20:12 UTC
Updated
03 Aug 2024, 05:11:43 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Apache Software Foundation — Apache Hadoopunspecified to < 3.2.3 (affected · custom) · 3.3.1 (affected) · 3.3.2 (affected) · 3.4 to < All* (unaffected · custom) · Platforms: Windows Version-specific Not stated apache

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

en · apache · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Apache Software Foundation Apache Hadoop unspecified to < 3.2.3 (affected · custom)3.3.1 (affected)3.3.2 (affected)3.4 to < All* (unaffected · custom) apache · cna

Weaknesses

1
  • unpackEntries during TAR extraction follows symbolic links which allows writing outside expected base directory on Windows (apache · cna)

References

2

Provider assertions

2

apache · cna

Arbitrary file write in FileUtil#unpackEntries on Windows

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
e5e22f360ff87db99acae73c366de40ca19af675611fca01c50f1ee750463e93
Ingested
23 Sep 2026, 07:59:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected