HIGH
Arbitrary File Write via Archive Extraction (Zip Slip)
Published Jun 24, 2020
7.5
HIGHCVSS 3.1
EPSS 1.60%
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
- Vendor n/a Product Github.com/sassoftware/go-Rpmutils/cpio Defaultn/a
- Version unspecifiedStatusaffectedConstraints<0.1.0
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Github.com/sassoftware/go-Rpmutils/cpio | n/a |
|
- < 0.1.0
No data.
No Red Hat product state for this CVE.
github.com/sassoftware/go-rpmutils
Go
Introduced 0 Fixed 0.1.0
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/sassoftware/go-rpmutils | 0 | 0.1.0 |
Remediation
No remediation recorded yet.
Weaknesses (1)
References (6)
- https://github.com/advisories/GHSA-9423-6c93-gpp8 Advisory
- https://github.com/sassoftware/go-rpmutils/commit/a64058cf21b8aada501bba923c9aab66fb6febf0 x_refsource_MISCPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-7667
- https://pkg.go.dev/vuln/GO-2020-0042
- https://snyk.io/research/zip-slip-vulnerability
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427 x_refsource_MISCExploitThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-9423-6c93-gpp8 | Advisory | |
| https://github.com/sassoftware/go-rpmutils/commit/a64058cf21b8aada501bba923c9aab66fb6febf0 | x_refsource_MISCPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-7667 | ||
| https://pkg.go.dev/vuln/GO-2020-0042 | ||
| https://snyk.io/research/zip-slip-vulnerability | ||
| https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427 | x_refsource_MISCExploitThird Party Advisory |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner snyk
Published Jun 24, 2020
Updated Sep 17, 2024
Reserved Jan 21, 2020
Link CVE-2020-7667
CISA Vulnrichment
GHSA-9423-6C93-GPP8 Updated n/a