Vulnerability in Cocoapods Cocoapods-Downloader
CVE-2022-21223
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.017 (76.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 76th percentile — 76.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.017 · newest: 0.017 · change: +0.000
Affected products
- Cocoapods Cocoapods-Downloader
- Cocoapods-Downloader — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414280 (Third Party Advisory)
- github.com/CocoaPods/cocoapods-downloader/pull/127 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-21223?
- CVE-2022-21223 is a high-severity vulnerability in Cocoapods Cocoapods-Downloader, classified under Argument Injection. CVSS score: 8.1/10. Published 2022-04-01.
- How severe is CVE-2022-21223?
- High severity. CVSS v3 base score is 8.1 out of 10.
- Is CVE-2022-21223 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.