Input validation error in myrepos - CVE-2018-7032
Published: February 14, 2018 / Updated: August 3, 2020
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
webcheckout in myrepos through 1.20171231 does not sanitize URLs that are passed to git clone, allowing a malicious website operator or a MitM attacker to take advantage of it for arbitrary code execution, as demonstrated by an "ext::sh -c" attack or an option injection attack.
Affected software
myrepos (Alpine package)
myrepos
Fedora
How to mitigate CVE-2018-7032
myrepos - addressed in versions 1.20180726-1.el7, 1.20180726-1.fc27, 1.20180726-1.fc28