CVE-2022-24440 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/CocoaPods/cocoapods-downloader/pull/124 | CVE | PatchThird Party Advisory |
| https://github.com/CocoaPods/cocoapods-downloader/pull/128 | CVE | PatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414278 | CVE | Third Party Advisory |
| https://github.com/CocoaPods/cocoapods-downloader/pull/124 | [email protected] | PatchThird Party Advisory |
| https://github.com/CocoaPods/cocoapods-downloader/pull/128 | [email protected] | PatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414278 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-88 | Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| cocoapods cocoapods-downloader | < 1.6.0 1.6.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Apr 8, 2022 | Initial Analysis | [email protected] |