High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-7667
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:14 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-7667
Complete source record
{
"id": "4111cb7b554c0242b40c532586fcc1ab3683eeb62fa0906730385a610e8e25c6",
"url": "https://osv.dev/vulnerability/CVE-2020-7667",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-7667",
"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.",
"evidence": "osv:CVE-2020-7667",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-7667",
"aliases": [
"CVE-2020-7667",
"GHSA-9423-6c93-gpp8",
"GO-2020-0042",
"SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/sassoftware/go-rpmutils",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "a651d1d58f11012b194bb2d817adf616d5f742d6"
},
{
"fixed": "a64058cf21b8aada501bba923c9aab66fb6febf0"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:sas:go_rpm_utils:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.1.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "a64058cf21b8aada501bba923c9aab66fb6febf0"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7667.json"
}
}
],
"modified": "2026-10-20T10:53:30.784962143Z",
"provider": "osv",
"references": [
"https://github.com/sassoftware/go-rpmutils/commit/a64058cf21b8aada501bba923c9aab66fb6febf0",
"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-7667",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384387,
"published_at": "2020-06-24T12:15:12.677+00:00"
}