org.apache.hadoop:hadoop-common@2.8.2 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.apache.hadoop:hadoop-common package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • C
Arbitrary Code Execution

org.apache.hadoop:hadoop-common 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 Arbitrary Code Execution via the FileUtil.unTar() API due to improper escape of the input file name before it passed to the shell.

Note:

In vulnerable 3.3.x versions FileUtil.unTar() is used through InMemoryAliasMap.completeBootstrapTransfer, which is only ever run by a local user.

How to fix Arbitrary Code Execution?

Upgrade org.apache.hadoop:hadoop-common to version 2.10.2, 3.2.4, 3.3.3 or higher.

[2.0.0,2.10.2) [3.0.0-alpha,3.2.4) [3.3.0,3.3.3)
  • C
Arbitrary File Write via Archive Extraction (Zip Slip)

org.apache.hadoop:hadoop-common 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 Arbitrary File Write via Archive Extraction (Zip Slip) in FileUtil where unpackEntries during TAR extraction follows symbolic links which allows writing outside the expected base directory on Windows. This is because getCanonicalPath doesn't resolve symbolic links on Windows.

How to fix Arbitrary File Write via Archive Extraction (Zip Slip)?

Upgrade org.apache.hadoop:hadoop-common to version 2.10.2, 3.2.3, 3.3.3-RC0 or higher.

[,2.10.2) [3.0.0-alpha1,3.2.3) [3.3.0,3.3.3-RC0)
  • M
Information Exposure

org.apache.hadoop:hadoop-common 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 Information Exposure. When Kerberos authentication is enabled and SPNEGO through HTTP is not enabled, any users can access some servlets without authentication.

How to fix Information Exposure?

Upgrade org.apache.hadoop:hadoop-common to version 3.0.1, 2.10.0 or higher.

[3.0.0-alpha2,3.0.1) [2.8.0,2.10.0)
  • C
Arbitrary File Write via Archive Extraction (Zip Slip)

org.apache.hadoop:hadoop-common 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 Arbitrary File Write via Archive Extraction (Zip Slip).

How to fix Arbitrary File Write via Archive Extraction (Zip Slip)?

Upgrade org.apache.hadoop:hadoop-common to version 2.7.7, 2.8.5, 2.9.2, 3.0.3, 3.1.1 or higher.

[2.7.0,2.7.7) [2.8.0,2.8.5) [2.9.0,2.9.2) [3.0.0,3.0.3) [3.1.0,3.1.1)
  • M
Information Exposure

org.apache.hadoop:hadoop-common 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 Information Exposure. A cluster user may be able to expose private files owned by the user running the MapReduce job history server process. A malicious user can construct a configuration file containing XML directives that reference sensitive files on the MapReduce job history server host.

How to fix Information Exposure?

Upgrade org.apache.hadoop:hadoop-common to version 2.8.3, 3.0.0 or higher.

[,2.8.3) [3.0.0-alpha,3.0.0)