VulnerabilityModified
CVE-2022-21223
The package cocoapods-downloader before 1.6.2 are vulnerable to Command Injection via hg argument injection.
CRITICAL 9.8EPSS 1.67%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.67%). 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.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.
- 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
- 1.67% probability · 76th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-88
- Affected
- cocoapods/cocoapods-downloader
- Source
- report@snyk.io
References
- https://github.com/CocoaPods/cocoapods-downloader/pull/127Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414280Third Party Advisory
- https://github.com/CocoaPods/cocoapods-downloader/pull/127Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414280Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.