Skip to main content
← All vulnerabilities
CVE-2022-24440GHSA-7627-MP87-JF6QSNYK-RUBY-COCOAPODSDOWNLOADER-2414278

Command Injection

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

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a cocoapods-downloader

    fixed in 1.6.0; From 1.6.2; fixed in 1.6.3

  • cocoapods-downloaderRubyGems

    fixed in 1.6.0

  • cocoapods-downloaderRubyGems

    From 1.6.2 · fixed in 1.6.3

References 3

snyk.io

GitHub · CocoaPods/cocoapods-downloader