CVE-2022-21223

Command Injection

Published Apr 1, 2022 CVSS 3.1 · 8.1 High EPSS 1.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-1732 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.
Github GHSA Github GHSA GHSA-g397-v4w5-4m79 Command injection in cocoapods-downloader
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 17, 2024, 12:42 AM
Reserved
Feb 24, 2022, 12:00 AM
Status
Modified
Published
Apr 1, 2022, 6:15 PM
Modified
Jun 17, 2026, 4:25 AM