CVE-2022-24440
Summary
| CVE | CVE-2022-24440 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-04-01 18:15:00 UTC |
| Updated | 2022-04-08 19:08:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-88
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Cocoapods | Cocoapods-downloader | All | All | All | All |
| Application | Cocoapods | Cocoapods-downloader | 1.6.2 | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Ensure that the git pre-processor doesn't accidentally bail also by orta · Pull Request #128 · CocoaPods/cocoapods-downloader · GitHub | MISC | github.com | |
| Adds a check for command injections in the input for hg and git by orta · Pull Request #124 · CocoaPods/cocoapods-downloader · GitHub | MISC | github.com | |
| Command Injection in cocoapods-downloader | CVE-2022-24440 | Snyk | MISC | snyk.io | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Alessio Della Libera of Snyk Research Team
There are currently no legacy QID mappings associated with this CVE.