Advisory

GHSA-9423-6c93-gpp8

Also known as: CVE-2020-7667, GO-2020-0042, SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427

Summary

github.com/sassoftware/go-rpmutils Arbitrary File Write via Archive Extraction (Zip Slip)

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-06-23 17:13 UTC
Modified
2026-07-08 06:49 UTC

Affected packages and fixes

github.com/sassoftware/go-rpmutils

Go · All systems

Affected

  • introduced 0, fixed 0.1.0 (semver)

Fixed versions

0.1.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences