CVE-2022-24440
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.55%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 2.55% probability · 84th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-88
- Affected
- cocoapods/cocoapods-downloader
- Source
- report@snyk.io
References
- https://github.com/CocoaPods/cocoapods-downloader/pull/124Patch, Third Party Advisory
- https://github.com/CocoaPods/cocoapods-downloader/pull/128Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414278Third Party Advisory
- https://github.com/CocoaPods/cocoapods-downloader/pull/124Patch, Third Party Advisory
- https://github.com/CocoaPods/cocoapods-downloader/pull/128Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414278Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.