← Übersicht Nicht im beobachteten Stack

Command injection in org.apache.hadoop.fs.FileUtil.unTarUsingTar

CVE-2022-25168 · DHI-xvo4-eukh-w5oa-ea27 · GHSA-8wm5-8h9c-47pc · WID-SEC-W-2022-2343

Kritisch · CVSS 9.8 BSI: mittelRed Hat: Important Netzwerk · ohne Login Kein Fix bekannt

Veröffentlicht
04.08.2022 16:30
Zuletzt geändert
17.11.2026
EPSS (30 Tage)
4.6 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

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

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 9 betroffen, 9 nicht betroffen.

IBM Spectrum Scale 5.1.x Betroffen
Red Hat Integration Camel K 1 BetroffenFix zurückgestellt hadoop
Red Hat Integration Data Virtualisation Operator Betroffenaußerhalb des Supports hadoop
Red Hat JBoss Data Grid 7 Betroffenaußerhalb des Supports hadoop
Red Hat JBoss Data Virtualization 6 Betroffenaußerhalb des Supports hadoop
Red Hat JBoss Fuse 6 Betroffenaußerhalb des Supports hadoop
Red Hat JBoss Fuse Service Works 6 Betroffenaußerhalb des Supports hadoop
Red Hat JBoss Operations Network 3 Betroffenaußerhalb des Supports hadoop
Red Hat OpenShift Container Platform 4 BetroffenFix ausstehend openshift4/ose-metering-hadoop
Nicht betroffen (9)
A-MQ Clients 2Nicht betroffenverwundbarer Code nicht enthaltenhadoop
Red Hat AMQ Broker 7Nicht betroffenverwundbarer Code nicht enthaltenhadoop
Red Hat Advanced Cluster Management for Kubernetes 2Nicht betroffenverwundbarer Code nicht enthaltenrhacm2/volsync-mover-rclone-rhel8
Red Hat Data Grid 8Nicht betroffenverwundbarer Code nicht enthaltenhadoop
Red Hat Fuse 7Nicht betroffenverwundbarer Code nicht enthaltenhadoop
Red Hat Integration Camel Quarkus 1Nicht betroffenverwundbarer Code nicht enthaltenhadoop
Red Hat JBoss Enterprise Application Platform 7Nicht betroffenverwundbarer Code nicht enthaltenhadoop-core
Red Hat JBoss Enterprise Application Platform Expansion PackNicht betroffenverwundbarer Code nicht enthaltenhadoop
streams for Apache KafkaNicht betroffenverwundbarer Code nicht enthaltenhadoop
Weitere betroffene Pakete (12)
CVEApache Software Foundation/Apache Hadoopkein Fix bekanntCVE-2022-25168
Docker Hardened Images:Alpine:3.24janusgraph-1.0kein Fix bekanntDHI-xvo4-eukh-w5oa-ea27
Docker Hardened Images:Alpine:3.24janusgraph-1.1kein Fix bekanntDHI-xvo4-eukh-w5oa-ea27
Docker Hardened Images:Debian:13janusgraph-1.0kein Fix bekanntDHI-xvo4-eukh-w5oa-ea27
Docker Hardened Images:Debian:13janusgraph-1.1kein Fix bekanntDHI-xvo4-eukh-w5oa-ea27
Mavenorg.apache.hadoop:hadoop-common3.3.0 → 3.3.3GHSA-8wm5-8h9c-47pc
Mavenorg.apache.hadoop:hadoop-common2.0.0 → 2.10.2GHSA-8wm5-8h9c-47pc
Mavenorg.apache.hadoop:hadoop-common3.0.0-alpha → 3.2.4GHSA-8wm5-8h9c-47pc
NVDapache:hadoopkein Fix bekanntCVE-2022-25168
TuxCare:Mavenorg.apache.hadoop:hadoop-common2.7.3-tuxcare.2CLSA-2026-1794915793
TuxCare:Mavenorg.apache.hadoop:hadoop-main2.7.3-tuxcare.2CLSA-2026-1794915793
TuxCare:Mavenorg.apache.hadoop:hadoop-yarn-server-common2.7.3-tuxcare.2CLSA-2026-1794915793

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.