PT-2021-5756

CVE-2021-32804

·

تاريخ النشر

2021-07-24

·

تاريخ التحديث

2026-10-07

الوصف من

CVSS 3.1
8.2
عالية
المقاييسAV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions node-tar versions prior to 3.3.2, 4.4.14, 5.0.6, and 6.1.1
Description The issue is related to the node-tar module for handling tar archives in Node.js, which has a problem with incorrect filtering of the '/' character sequence. This could allow a remote attacker to compromise data integrity and cause a denial of service. The npm package "tar" (aka node-tar) has an arbitrary File Creation/Overwrite vulnerability due to insufficient absolute path sanitization. The node-tar aims to prevent extraction of absolute file paths by turning absolute paths into relative paths when the preservePaths flag is not set to true. However, this logic was insufficient when file paths contained repeated path roots.
Recommendations For versions prior to 3.3.2, 4.4.14, 5.0.6, and 6.1.1, update to the respective fixed versions (3.3.2, 4.4.14, 5.0.6, or 6.1.1) to resolve the issue. As a temporary workaround, consider creating a custom onentry method which sanitizes the entry.path or a filter method which removes entries with absolute paths.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-3JFQ-G458-7QM9
ALSA-2021:3623
ALSA-2021:3666
ALSA-2025_16880
ALT-PU-2021-2920
ALT-PU-2021-2921
ALT-PU-2021-3615
ALT-PU-2022-1798
ALT-PU-2022-3069
ALT-PU-2022-3073
CESA-2021_3623
CESA-2021_3666
MGASA-2022-0103
OPENSUSE-SU-2022:0657-1
OPENSUSE-SU-2022_0657-1
OPENSUSE-SU-2022:0704-1
OPENSUSE-SU-2022_0704-1
OPENSUSE-SU-2022:0715-1
OPENSUSE-SU-2022_0715-1
OPENSUSE-SU-2022_1717-1
RHSA-2021:3280
RHSA-2021:3281
RHSA-2021:3623
RHSA-2021_3623
RHSA-2021:3638
RHSA-2021:3639
RHSA-2021:3666
RHSA-2021_3666
RLSA-2021:3623
RLSA-2021:3666
SUSE-SU-2022:0531-1
SUSE-SU-2022:0563-1
SUSE-SU-2022:0569-1
SUSE-SU-2022:0570-1
SUSE-SU-2022:0657-1
SUSE-SU-2022:0704-1
SUSE-SU-2022:0715-1
SUSE-SU-2022:1717-1
SUSE-SU-2022_1717-1
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾