{ "data_type": "CVE", "data_format": "MITRE", "data_version": "4.0", "CVE_data_meta": { "ASSIGNER": "report@snyk.io", "DATE_PUBLIC": "2022-04-01T17:31:42.202835Z", "ID": "CVE-2022-21223", "STATE": "PUBLIC", "TITLE": "Command Injection" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "cocoapods-downloader", "version": { "version_data": [ { "version_affected": "<", "version_value": "1.6.2" } ] } } ] }, "vendor_name": "n/a" } ] } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Command Injection" } ] } ] }, "references": { "reference_data": [ { "refsource": "MISC", "url": "https://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414280", "name": "https://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414280" }, { "refsource": "MISC", "url": "https://github.com/CocoaPods/cocoapods-downloader/pull/127", "name": "https://github.com/CocoaPods/cocoapods-downloader/pull/127" } ] }, "description": { "description_data": [ { "lang": "eng", "value": "The package cocoapods-downloader before 1.6.2 are vulnerable to Command Injection via hg argument injection. When calling the download function (when using hg), the url (and/or revision, tag, branch) is passed to the hg clone command in a way that additional flags can be set. The additional flags can be used to perform a command injection." } ] }, "impact": { "cvss": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH" } }, "credit": [ { "lang": "eng", "value": "Alessio Della Libera of Snyk Research Team" } ] }