github.com/fission/fission
Affected
- introduced
0, fixed1.25.0(semver)
Fixed versions
1.25.0
Fix
- Fixed version
1.25.0go get github.com/fission/[email protected]
Advisory
Also known as: CVE-2026-50567, GO-2026-6127
Fission: Zip Slip in pkg/utils/zip.go:Unarchive allows fetcher to write outside the destination directory
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
github.com/fission/fission647c141pkg/utils/zip.go (Unarchive)Fix section (paste into the Fix / Patches field)
Fixed in v1.25.0 by:
Unarchive now opens an os.Root on the destination, validates each archive entry name (rejects absolute paths and .. traversal), and refuses symlink entries up front. The os.Root confines every mkdir / create to the destination in the kernel. Regression coverage: TestUnarchiveZipSlip in pkg/utils/zip_test.go exercises parent-traversal, absolute-path, and symlink entries.
High Basis: The source's own band: HIGH
0, fixed 1.25.0 (semver)1.25.0
1.25.0go get github.com/fission/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0