Arbitrary File Write via Archive Extraction (Zip Slip)
cve-program · CVE-2020-7667
PublishedIn 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.
Read the publisher's advisoryeuvd · EUVD-2021-1296
PublishedIn 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.
Read the publisher's advisorynvd · CVE-2020-7667
PublishedIn 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.
Read the publisher's advisoryosv · GHSA-9423-6c93-gpp8
PublishedThe 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.
Read the publisher's advisoryosv · GO-2020-0042
PublishedDue to improper path sanitization, RPMs containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2020-7667 · CVE overview and exploitation status
SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427
cve-program · CVE-2020-7667
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427
- https://github.com/sassoftware/go-rpmutils/commit/a64058cf21b8aada501bba923c9aab66fb6febf0
euvd · EUVD-2021-1296
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427
- https://github.com/sassoftware/go-rpmutils/commit/a64058cf21b8aada501bba923c9aab66fb6febf0
nvd · CVE-2020-7667
- https://github.com/sassoftware/go-rpmutils/commit/a64058cf21b8aada501bba923c9aab66fb6febf0
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427
osv · GHSA-9423-6c93-gpp8
- https://nvd.nist.gov/vuln/detail/CVE-2020-7667
- https://github.com/sassoftware/go-rpmutils/commit/a64058cf21b8aada501bba923c9aab66fb6febf0
- https://github.com/sassoftware/go-rpmutils
- https://pkg.go.dev/vuln/GO-2020-0042
- https://snyk.io/research/zip-slip-vulnerability
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427
osv · GO-2020-0042
Related changes
Linked by CVE identifierNo related changes are available here.