Input validation error in myrepos (Alpine package)



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2018-7032
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
myrepos (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Input validation error

EUVDB-ID: #VU33232

Risk: Medium

CVSSv4.0: 4.8 [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/E:U/U:Green]

CVE-ID: CVE-2018-7032

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

myrepos (Alpine package): 1.20130710-r0 - 1.20180726-r0

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=f0dc3a075c84dd1ab8b01e45fbc4e8f66f8952b8
https://git.alpinelinux.org/aports/commit/?id=ae0cec2a723e93a224deb61c222e91f40c80e444
https://git.alpinelinux.org/aports/commit/?id=a7953c341a585f8d48e4576758e0d33dd3287540
https://git.alpinelinux.org/aports/commit/?id=b8aa48b63f0e9c71ac7f32c88567de03ee626f78


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###