cve.bz

CVE-2022-21223

9.8 criticalEPSS 1.7%

Critical (9.8) in cocoapods cocoapods-downloader. EPSS 1.7% chance of exploitation in the next 30 days. Fixed in cocoapods-downloader 1.6.2.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.7% chance of exploitation in the next 30 days; higher than 77% of CVEs (scores of 2026-10-31)
CWE
CWE-88
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g397-v4w5-4m79RubyGemscocoapods-downloader<1.6.21.6.2

References

Check your stackJSON