What’s Vulnerable › Vulnerabilities

CVE-2022-21223: Command 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

How to fix

Upgrade to a fixed version: cocoapods-downloader 1.6.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-21223 or the next vulnerability affects your stack