Arbitrary File Write via Archive Extraction (Zip Slip)
github.com/sassoftware/go-rpmutils/cpio
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/sassoftware/go-rpmutils Go |
|
|
Original 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.
From the CVE record · snyk