CPIO Extraction Path Traversal Vulnerability in go-rpmutils/cpio

CPIO Extraction Path Traversal Vulnerability in go-rpmutils/cpio

CVE-2020-7667 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

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.

Learn more about our Web Application Penetration Testing UK.