CocoaPods/cocoapods-downloader

CocoaPods/cocoapods-downloader

Releases42
Frequency3 months 4 days
Last Release
Stars88
A small library that provides downloaders for various source types (HTTP/SVN/Git/Mercurial)

CVE History

CVEPublishedCVSS v3CVSS v2
8.1 HIGH7.5 HIGH

The package cocoapods-downloader before 1.6.2 are vulnerable to Command Injection via hg argument injection. When calling the download function (when using hg), the url (and/or revision, tag, branch) is passed to the hg clone command in a way that additional flags can be set. The additional flags can be used to perform a command injection.

8.1 HIGH7.5 HIGH

The package cocoapods-downloader before 1.6.0, from 1.6.2 and before 1.6.3 are vulnerable to Command Injection via git argument injection. When calling the Pod::Downloader.preprocess_options function and using git, both the git and branch parameters are passed to the git ls-remote subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.