Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Cocoapods | Cocoapods-Downloader | < 1.6.0 |
Related Weaknesses (CWE)
References
- https://github.com/CocoaPods/cocoapods-downloader/pull/124PatchThird Party Advisory
- https://github.com/CocoaPods/cocoapods-downloader/pull/128PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414278Third Party Advisory
- https://github.com/CocoaPods/cocoapods-downloader/pull/124PatchThird Party Advisory
- https://github.com/CocoaPods/cocoapods-downloader/pull/128PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414278Third Party Advisory
FAQ
What is CVE-2022-24440?
CVE-2022-24440 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 ...
How severe is CVE-2022-24440?
CVE-2022-24440 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-24440?
Check the references section above for vendor advisories and patch information. Affected products include: Cocoapods Cocoapods-Downloader.