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
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2022-1661 | 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. |
Github GHSA |
GHSA-7627-mp87-jf6q | Command injection in cocoapods-downloader |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
No history.
Status: PUBLISHED
Assigner: snyk
Published:
Updated: 2024-09-17T03:22:48.708Z
Reserved: 2022-02-24T00:00:00
Link: CVE-2022-24440
No data.
Status : Modified
Published: 2022-04-01T18:15:08.767
Modified: 2024-11-21T06:50:25.453
Link: CVE-2022-24440
No data.
OpenCVE Enrichment
No data.
EUVD
Github GHSA