{"cve":"CVE-2022-24440","nvd":{"published":"2022-04-01T18:15:08.767","modified":"2026-06-17T04:31:50.930","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-88"],"references":["https://github.com/CocoaPods/cocoapods-downloader/pull/124","https://github.com/CocoaPods/cocoapods-downloader/pull/128","https://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414278","https://github.com/CocoaPods/cocoapods-downloader/pull/124","https://github.com/CocoaPods/cocoapods-downloader/pull/128"],"products":["cocoapods:cocoapods-downloader"],"source":"nvd","synced_at":"2026-10-19T21:29:06.454770966+00:00"},"epss":{"cve":"CVE-2022-24440","score":0.0262,"percentile":0.85458,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-7627-mp87-jf6q","url":"https://osv.dev/vulnerability/GHSA-7627-mp87-jf6q","summary":"Command injection in cocoapods-downloader","modified":"2026-07-08T06:50:04.049741640Z","packages":[{"ecosystem":"RubyGems","name":"cocoapods-downloader","purl":"pkg:gem/cocoapods-downloader","ranges":["<1.6.0"],"fixed":["1.6.0"]},{"ecosystem":"RubyGems","name":"cocoapods-downloader","purl":"pkg:gem/cocoapods-downloader","ranges":[">=1.6.2 <1.6.3"],"fixed":["1.6.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}