Skip to main content
← All vulnerabilities
CVE-2022-21223GHSA-G397-V4W5-4M79SNYK-RUBY-COCOAPODSDOWNLOADER-2414280

Command Injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.6.2
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a cocoapods-downloader

    fixed in 1.6.2

  • cocoapods-downloaderRubyGems

    fixed in 1.6.2

References 2

snyk.io

GitHub · CocoaPods/cocoapods-downloader