PT-2022-2441
CVE-2022-26612
·
تاريخ النشر
2022-03-07
·
تاريخ التحديث
2026-11-13
الوصف من
CVSS 2.0
10
حرجةالمقاييسAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions
Apache Hadoop versions prior to 3.2.3
Description
The issue is related to the unTar function in Apache Hadoop, which uses the unTarUsingJava function on Windows and the built-in tar utility on Unix and other OSes. This can lead to a TAR entry creating a symlink under the expected extraction directory, pointing to an external directory. A subsequent TAR entry may then extract an arbitrary file into the external directory using the symlink name. On Windows, the getCanonicalPath call does not resolve symbolic links, bypassing the targetDirPath check and allowing writing outside the expected base directory.
Recommendations
For Apache Hadoop versions prior to 3.2.3, update to Apache Hadoop 3.2.3 to address the issue. As a temporary workaround, consider restricting the use of the unTar function on Windows systems until the update is applied.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾