جزئیات آسیب‌پذیری

CVE-2025-29787

zip-rs zip2

zip Vulnerable to Incorrect Path Canonicalization During Archive Extraction, Leading to Arbitrary File Write

CVSS 4.0
7.3بالا

شرح رسمی (انگلیسی)

`zip` is a zip library for rust which supports reading and writing of simple ZIP files. In the archive extraction routine of affected versions of the `zip` crate starting with version 1.3.0 and prior to version 2.3.0, symbolic links earlier in the archive are allowed to be used for later files in the archive without validation of the final canonicalized path, allowing maliciously crafted archives to overwrite arbitrary files in the file system when extracted. Users who extract untrusted archive files using the following high-level API method may be affected and critical files on the system may be overwritten with arbitrary file permissions, which can potentially lead to code execution. Version 2.3.0 fixes the issue.

امتیازهای CVSS

امتیازنسخهمنبعبردار
7.3بالا 4.0 CVEProject cvelistV5 (CNA) (GitHub_M) CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:H/SI:H/SA:H

محصولات آسیب‌پذیر

فروشندهمحصولنسخه‌هامنبع
zip-rs zip2 >= 1.3.0, < 2.3.0 CVEProject cvelistV5 (CNA)

منابع و راهنماها

۴
هشدار CVEهای بعدی این محصولمحصول را دنبال کنید تا آسیب‌پذیری‌های تازه را در تلگرام بگیرید.

اطلاعات

تاریخ انتشار
۱۴۰۳/۱۲/۲۷
آخرین به‌روزرسانی
۱۴۰۳/۱۲/۲۹
وضعیت
منتشرشده
صادرکننده (CNA)
GitHub_M

پیش‌بینی بهره‌برداری (EPSS)

۰٫۵۸٪
احتمال بهره‌برداری در ۳۰ روز
۴۸٫۱٪
صدک (نسبت به همه‌ی CVEها)

ارزیابی SSVC (CISA)

قابل خودکارسازی
خیر
وضعیت بهره‌برداری
اثبات مفهوم
اثر فنی
جزئی

ضعف‌ها (CWE)

  • CWE-22
    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-61
    UNIX Symbolic Link (Symlink) Following
  • CWE-180
    Incorrect Behavior Order: Validate Before Canonicalize