Skip to content
OpenAdvisories
High · 7.5 CVE-2020-7667 EUVD-2021-1296GHSA-9423-6c93-gpp8GO-2020-0042SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427

Arbitrary File Write via Archive Extraction (Zip Slip)

Published Jun 24, 2020 · Updated Sep 17, 2024 · Assigned by snyk

Description

In package github.com/sassoftware/go-rpmutils/cpio before version 0.1.0, the CPIO extraction functionality doesn't sanitize the paths of the archived files for leading and non-leading ".." which leads in file extraction outside of the current directory. Note: the fixing commit was applied to all affected versions which were re-released.

Affected products

VendorProductAffectedFixed
— github.com/sassoftware/go-rpmutils/cpio unspecified – < 0.1.0 0.1.0

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/sassoftware/go-rpmutils < 0.1.0 0.1.0 GHSA-9423-6c93-gpp8

References