SCA: security update for org.apache.hadoop:hadoop-common (GHSA-8wm5-8h9c-47pc)

critical Tenable Self-Hosted Container Security Plugin ID 412907

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Apache Hadoop's FileUtil.unTar(File, File) API does not escape the input file name before being passed to
the shell. An attacker can inject arbitrary commands. This is only used in Hadoop 3.3
InMemoryAliasMap.completeBootstrapTransfer, which is only ever run by a local user. It has been used in
Hadoop 2.x for yarn localization, which does enable remote code execution. It is used in Apache Spark,
from the SQL command ADD ARCHIVE. As the ADD ARCHIVE command adds new binaries to the classpath, being
able to execute shell scripts does not confer new permissions to the caller. SPARK-38305. "Check existence
of file before untarring/zipping", which is included in 3.3.0, 3.1.4, 3.2.2, prevents shell commands being
executed, regardless of which version of the hadoop libraries are in use. Users should upgrade to Apache
Hadoop 2.10.2, 3.2.4, 3.3.3 or upper (including HADOOP-18136). (CVE-2022-25168)

See Also

https://github.com/advisories/GHSA-8wm5-8h9c-47pc

Plugin Details

Severity: Critical

ID: 412907

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2022-25168

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/5/2022

Vulnerability Publication Date: 8/4/2022

Reference Information

CVE: CVE-2022-25168