CVE-2022-24440 Command Injection
CriticalCVSS 9.8
EPSS 2.6%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| cocoapods-downloader | < 1.6.0; = 1.6.2 | 1.6.0 | Fixed |
| rubygems cocoapods-downloader(RubyGems) | < 1.6.0; = 0.1.0; = 0.1.1; = 0.1.2 +35 more | 1.6.0, 1.6.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems cocoapods-downloader(RubyGems) | < 1.6.0 | 1.6.0 |
| rubygems cocoapods-downloader(RubyGems) | >= 1.6.2, < 1.6.3 | 1.6.3 |
| rubygems cocoapods-downloader(RubyGems) | = 0.1.0 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 0.1.1 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 0.1.2 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 0.2.0 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 0.3.0 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 0.4.0 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 0.4.1 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 0.5.0 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 0.6.0 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 0.6.1 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 0.7.0 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 0.7.1 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 0.7.2 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 0.8.0 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 0.8.1 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 0.9.0 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 0.9.1 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 0.9.2 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 0.9.3 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 1.0.0 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 1.0.0.beta.1 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 1.0.0.beta.2 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 1.0.0.beta.3 | No fix listed |
Show 16 more
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems cocoapods-downloader(RubyGems) | = 1.0.0.rc.1 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 1.0.1 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 1.1.0 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 1.1.1 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 1.1.2 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 1.1.3 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 1.2.0 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 1.2.1 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 1.2.2 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 1.3.0 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 1.4.0 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 1.5.0 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 1.5.1 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 1.6.2 | No fix listed |
| cocoapods-downloader | < 1.6.0 | 1.6.0 |
| cocoapods-downloader | = 1.6.2 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- snyk.io third-party-advisory
- github.com patch
- github.com patch
- github.com exploit
- github.com
- github.com product