Vulnerability identifier: #VU84822
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:
cocoapods-downloader
Universal components / Libraries /
Libraries used by multiple products
Vendor:
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to the url (and/or revision, tag, branch) is passed to the hg clone command in a way that additional flags can be set when calling the download function (when using hg). A remote unauthenticated attacker can trigger the vulnerability to perform a command injection.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
External links
http://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414280
http://github.com/CocoaPods/cocoapods-downloader/pull/127
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.