Path traversal in go-rpmutils - CVE-2020-7667

 

Path traversal in go-rpmutils - CVE-2020-7667

Published: November 21, 2023


Vulnerability identifier: #VU83322
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-7667
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to 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. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.


Affected software

go-rpmutils
Storage Defender – Data Protect

How to mitigate CVE-2020-7667

Install update from vendor's website.

go-rpmutils - update to 0.1.0
Storage Defender – Data Protect - update to 1.4.0

External References

Related Security Bulletins