9.8

CVE-2022-26612: apache software foundation apache hadoop Link Following

CVSS: 9.8v3.1CriticalModified
AliasesCGA-4fq3-3fpj-654hCGA-58wf-7jmh-4gfmCGA-6g58-37jh-6jr6
Published 07-04-2022Last modified 03-08-2024

Vulnerability summary

CVE-2022-26612 is a critical (CVSS 9.8) Link Following vulnerability in apache software foundation apache hadoop. EPSS estimates a 4.24% chance of exploitation in the next 30 days, higher than 90.9% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
4.24%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Timeline

  1. 07-04-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

4.24%

Chance of exploitation in the next 30 days

Percentile

91%

Versus all other CVEs

30-day change

0.00 pp

From 4.24% on 18-09-2026

18-09-202618-10-2026
EPSS score
4.24%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (lists.apache.org)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Apache1 product
Apache software foundation1 product
Chainguard1 product
  • hadoop-fips-3.3.6All versions (No fix recorded)
Org.apache.hadoop1 product
  • hadoop-common≥ 3.2.0, < 3.2.3 | < 2.10.2 | ≥ 3.3.0, < 3.3.3

4 vendors · 4 products

References

10 links