{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-24440","published":"2022-04-01T18:15:08.767000Z","last_modified":"2026-06-17T04:31:50.930000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-88"],"cpes":[{"criteria":"cpe:2.3:a:cocoapods:cocoapods-downloader:*:*:*:*:*:*:*:*","part":"a","vendor":"cocoapods","product":"cocoapods-downloader","version_end_excluding":"1.6.0"},{"criteria":"cpe:2.3:a:cocoapods:cocoapods-downloader:1.6.2:*:*:*:*:*:*:*","part":"a","vendor":"cocoapods","product":"cocoapods-downloader","version":"1.6.2"}],"cpes_truncated":false,"vendors":["cocoapods"],"products":["cocoapods/cocoapods-downloader"],"epss":{"score":0.03035,"percentile":0.88254,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-7627-mp87-jf6q","ecosystem":"RubyGems","name":"cocoapods-downloader","purl":"pkg:gem/cocoapods-downloader","ranges":[{"introduced":"0","fixed":"1.6.0"}],"versions":["0.1.0","0.1.1","0.1.2","0.2.0","0.3.0","0.4.0","0.4.1","0.5.0","0.6.0","0.6.1","0.7.0","0.7.1","0.7.2","0.8.0","0.8.1","0.9.0","0.9.1","0.9.2","0.9.3","1.0.0","1.0.0.beta.1","1.0.0.beta.2","1.0.0.beta.3","1.0.0.rc.1","1.0.1","1.1.0","1.1.1","1.1.2","1.1.3","1.2.0","1.2.1","1.2.2","1.3.0","1.4.0","1.5.0","1.5.1"],"versions_truncated":false},{"advisory":"GHSA-7627-mp87-jf6q","ecosystem":"RubyGems","name":"cocoapods-downloader","purl":"pkg:gem/cocoapods-downloader","ranges":[{"introduced":"1.6.2","fixed":"1.6.3"}],"versions":["1.6.2"],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2022-24440/","html_en":"/en/cve/CVE-2022-24440/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-24440","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-24440"},"untrusted":{"vendor_name":"Cocoapods","product_name":"Cocoapods-downloader","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/CocoaPods/cocoapods-downloader/pull/124","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/CocoaPods/cocoapods-downloader/pull/128","tags":["Patch","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414278","tags":["Third Party Advisory"]}]}}