csirt@kutim:~/threat-intel/cve/CVE-2022-25168

Katalog CVE

CVSS 9.8 · Critical EPSS 4,5%

Kerentanan Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') pada apache hadoop. Skor CVSS 3.1 9.8 (Critical) menurut NVD.

Deskripsi (NVD)

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).

Rincian

Terbit di NVD
4 Agustus 2022
Terakhir diubah
17 Juni 2026
Status NVD
Modified
CVSS 3.1
9.8 (Critical), sumber NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · uraikan di kalkulator
Jenis kelemahan (CWE)
CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
EPSS (30 hari)
4,5% peluang dieksploitasi; lebih tinggi dari 91,2% CVE lain

Produk dan versi terdampak

VendorProdukVersi terdampak
apache hadoop Versi 2.0.0 hingga 2.10.1
apache hadoop Versi 3.0.0 hingga 3.2.3
apache hadoop Versi 3.3.0 hingga 3.3.2

> Data dari konfigurasi CPE di NVD.

Referensi dan perbaikan

Sumber: NVD · CVE.org · EPSS. Halaman ini disusun otomatis dari data tersebut; pembaruan terakhir 5 Okt 2026, 20:10 WITA. Kalau sistem di Perangkat Daerah memakai produk ini dan butuh bantuan, laporkan lewat kanal pelaporan.