Skip to main content
← All vulnerabilities
CVE-2020-7667GHSA-9423-6C93-GPP8GO-2020-0042SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427

Arbitrary File Write via Archive Extraction (Zip Slip)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.1.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a github.com/sassoftware/go-rpmutils/cpio

    fixed in 0.1.0

  • github.com/sassoftware/go-rpmutilsGo

    fixed in 0.1.0

References 2

snyk.io

GitHub · sassoftware/go-rpmutils