Skip to content
8.1 High

CVE-2022-21223 The package cocoapods-downloader before 1.6.2 are vulnerable to Command Injection via hg argument injection

Description

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.

Affected products and versions

Product Affected versions Fixed in
cocoapods-downloader 1.6 earliest → < 1.6.2 1.6.2
The 2 CVEs of cocoapods-downloader →
Track this CVE