Vulnerability identifier: #VU71700
Vulnerability risk: High
CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-88
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
vcs
Other software /
Other software solutions
Vendor: Masterminds
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to argument strings being passed to hg in a way that additional flags can be set when hg is executed. A remote attacker can send a specially crafted request and execute arbitrary code on the target system.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
vcs: 1.0.0 - 1.13.2
External links
http://github.com/Masterminds/vcs/pull/105
http://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078
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.