Skip to content
OpenAdvisories
High · 8.1 CVE-2022-21223 EUVD-2022-1732GHSA-g397-v4w5-4m79SNYK-RUBY-COCOAPODSDOWNLOADER-2414280

Command Injection

Published Apr 1, 2022 · Updated Sep 17, 2024 · Assigned by snyk

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

VendorProductAffectedFixed
— cocoapods-downloader unspecified – < 1.6.2 1.6.2

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems cocoapods-downloader < 1.6.2 1.6.2 GHSA-g397-v4w5-4m79

References