---
id: CVE-2020-7667
aliases:
  - GHSA-9423-6c93-gpp8
  - GO-2020-0042
  - SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427
title: >-
  github.com/sassoftware/go-rpmutils Arbitrary File Write via Archive Extraction
  (Zip Slip)
summary: >-
  github.com/sassoftware/go-rpmutils Arbitrary File Write via Archive Extraction
  (Zip Slip)
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'
vendor: sassoftware
product: github.com/sassoftware/go-rpmutils
ecosystem: go
affected:
  - github.com/sassoftware/go-rpmutils < 0.1.0
patched:
  - github.com/sassoftware/go-rpmutils 0.1.0
published: '2021-06-23'
updated: '2026-07-08'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-9423-6c93-gpp8'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2020-7667'
  - url: >-
      https://github.com/sassoftware/go-rpmutils/commit/a64058cf21b8aada501bba923c9aab66fb6febf0
  - url: 'https://github.com/sassoftware/go-rpmutils'
  - url: 'https://pkg.go.dev/vuln/GO-2020-0042'
  - url: 'https://snyk.io/research/zip-slip-vulnerability'
  - url: 'https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427'
tags:
  - osv
  - go
epss: 0.01602
epssPercentile: 0.74776
ingestedAt: '2026-07-09T18:56:36.257Z'
---

## Overview

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 packages

- `github.com/sassoftware/go-rpmutils < 0.1.0`

## Remediation

Upgrade to a patched release:

- `github.com/sassoftware/go-rpmutils 0.1.0`
