نسخههای متأثر
بازهها نیاز به بررسی دارند.
- نسخههای متأثر
- <1.25.0
- نسخهٔ اصلاحشده
- 1.25.0
- نسخههای متأثر
- <= 1.24.0
- نسخهٔ اصلاحشده
- 1.25.0
بهرهبرداری
شرح آسیبپذیری
Unarchive in pkg/utils/zip.go joined each archive entry name with the destination directory via filepath.Join and wrote the result without checking whether the resolved path stayed under the destination. A zip entry named
../../tmp/evil therefore landed at /tmp/evil. An attacker who could control a Package.Spec.Source.URL or Deployment.URL archive could induce the fetcher (running as the per-environment pod's fission-fetcher sidecar) to write
files anywhere that process could reach: into other tenants' /packages/<ns>/ directories, into mounted secret/config volumes, or into the fetcher's own binary.
Affected
Project:
github.com/fission/fissionVersions: all up to and including v1.24.0
Audited commit:
647c141Component:
pkg/utils/zip.go(Unarchive)Configuration: default; triggered when the fetcher downloads and extracts a zip archive
Fix section (paste into the Fix / Patches field)
Fixed in v1.25.0 by:
PR #3444 (commit
55704aca) —Unarchivenow opens anos.Rooton the destination, validates each archive entry name (rejects absolute paths and..traversal), and refuses symlink entries up front. Theos.Rootconfines everymkdir/createto the destination in the kernel.
Regression coverage: TestUnarchiveZipSlip in pkg/utils/zip_test.go exercises parent-traversal, absolute-path, and symlink entries.
پیوندها
- https://github.com/advisories/GHSA-q6vm-xqc9-v3ff
- https://github.com/fission/fission
- https://github.com/fission/fission/pull/3444
- https://github.com/fission/fission/releases/tag/v1.25.0
- https://github.com/fission/fission/security/advisories/GHSA-q6vm-xqc9-v3ff
- https://nvd.nist.gov/vuln/detail/CVE-2026-50567
گزارشدهندگان
- 0xshdax
- sanketsudake

