CVE-2020-7667

Arbitrary File Write via Archive Extraction (Zip Slip)

Published Jun 24, 2020 CVSS 3.1 · 7.5 High EPSS 1.6% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-1296 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.
Github GHSA Github GHSA GHSA-9423-6c93-gpp8 github.com/sassoftware/go-rpmutils Arbitrary File Write via Archive Extraction (Zip Slip)
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 17, 2024, 2:48 AM
Reserved
Jan 21, 2020, 12:00 AM
Status
Modified
Published
Jun 24, 2020, 12:15 PM
Modified
Jun 17, 2026, 3:25 AM