CVE-2022-21223 Command Injection
CriticalCVSS 9.8
EPSS 1.7%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| cocoapods-downloader | < 1.6.2 | 1.6.2 | Fixed |
| rubygems cocoapods-downloader(RubyGems) | < 1.6.2; = 0.1.0; = 0.1.1; = 0.1.2 +35 more | 1.6.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems cocoapods-downloader(RubyGems) | < 1.6.2 | 1.6.2 |
| 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 |
| rubygems cocoapods-downloader(RubyGems) | = 1.0.0.rc.1 | No fix listed |
Show 15 more
| Product | Affected versions | Fixed in |
|---|---|---|
| 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.0 | No fix listed |
| rubygems cocoapods-downloader(RubyGems) | = 1.6.1 | No fix listed |
| cocoapods-downloader | < 1.6.2 | 1.6.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- snyk.io third-party-advisory
- github.com exploit
- github.com
- github.com product