🛡️ CVE-2022-21223 — cocoapods-downloader

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-74 OSV
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Command injection in cocoapods-downloader

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

Affected software

CVE-2022-21223 is recorded against 1 package.

  • cocoapods-downloader (fixed in 1.6.2)

Timeline and source

Published on 2 April 2022 and last revised on 8 July 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)
github.com (Web)
snyk.io (Web)

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE CWE-74
Public Exploit ✅ No
Source OSV
Published 2022-04-02
Updated 2026-08-12
Modified 2026-07-08

Affected Packages

Software From version Fixed in
cocoapods-downloader 1.6.2

Similar Threats

Site Security Check

Is cocoapods-downloader part of your stack?

CVE-2022-21223 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.