Input validation error in myrepos - CVE-2018-7032

 

Input validation error in myrepos - CVE-2018-7032

Published: February 14, 2018 / Updated: August 3, 2020


Vulnerability identifier: #VU33232
CSH Severity: Medium
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-7032
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

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
myrepos (Alpine package)
myrepos
Fedora

How to mitigate CVE-2018-7032

Install update from vendor's website.

myrepos (Alpine package) - update to 1.20180726-r0
myrepos - addressed in versions 1.20180726-1.el7, 1.20180726-1.fc27, 1.20180726-1.fc28

External References

Related Security Bulletins