CVE-2020-7667
Summary
| CVE | CVE-2020-7667 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-06-24 12:15:00 UTC |
| Updated | 2021-12-21 01:10:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-22
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Sas | Go Rpm Utils | All | All | All | All |
| Application | Sas | Go Rpm Utils | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Prevent cpio.Extract from writing into parent directories · sassoftware/go-rpmutils@a64058c · GitHub | CONFIRM | github.com | Patch, Third Party Advisory |
| Arbitrary File Write via Archive Extraction (Zip Slip) in github.com/sassoftware/go-rpmutils/cpio | Snyk | CONFIRM | snyk.io | Exploit, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Georgios Gkitsas of Snyk Security Team
There are currently no legacy QID mappings associated with this CVE.