תיאור (מקור, אנגלית)
decompress before 4.2.2 allows arbitrary symlink creation during archive extraction. When processing symlink entries (type === 'symlink'), the x.linkname field from the archive is passed directly to fs.symlink() without validation (index.js line 121). The preventWritingThroughSymlink check on line 98 only applies to file entries, not symlink creation. An attacker can craft an archive with symlink entries pointing to sensitive files outside the extraction directory (e.g., /etc/passwd), enabling information disclosure when the application reads the extracted contents.
מוצרים מושפעים
decompress_project: decompress
קישורים4
- github.com/kevva/decompress/issues/114 ExploitVendor Advisory
- github.com/kevva/decompress/issues/114 ExploitVendor Advisory
- github.com/kevva/decompress Product
- www.npmjs.com/package/decompress Product
מדדים
- CVSS 3.1
-
7.5
HIGH
מקור הציון: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - EPSS — סבירות ניצול
- 1% אחוזון 52 · נכון ל-15 בנובמבר 2026
- CWE
- CWE-59
האם אפשר לנצל את הפגיעות הזו אצלכם?
עדכון אבטחה סוגר את הפרצה הידועה. בדיקת חדירות מראה לאן תוקף עדיין יכול להגיע — עם הוכחה.