[3.6] myrepos: missing URL sanitization (CVE-2018-7032)
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.
References:
https://nvd.nist.gov/vuln/detail/CVE-2018-7032
Patch:
(from redmine: issue id 9202, created on 2018-08-07, closed on 2018-08-23)
- Relations:
- copied_to #9199 (closed)
- parent #9199 (closed)
- Changesets:
- Revision 4c6eeeee by Natanael Copa on 2018-08-22T09:52:22Z:
main/myrepos: security upgrade to 1.20180726 (CVE-2018-7032)
fixes #9202