Symlink Attack Affecting org.apache.hadoop:hadoop-main package, versions [,2.0.0-alpha)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (64th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHEHADOOP-5871346
  • published30 Aug 2023
  • disclosed23 Apr 2022
  • creditSimon

Introduced: 23 Apr 2022

CVE-2012-2945  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade org.apache.hadoop:hadoop-main to version 2.0.0-alpha or higher.

Overview

org.apache.hadoop:hadoop-main is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models.

Affected versions of this package are vulnerable to Symlink Attack via the conf/hadoop-env component due to pid files being stored in the shared /tmp directory by default.

CVSS Scores

version 3.1