sassoftware/go-rpmutils · Security

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

GHSA ID
GHSA-9423-6c93-gpp8
CVE ID
CVE-2020-7667
Severity
high
Published
Updated
CVSS
7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v3
7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Description

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.

CWEs

References