logo

CVE-2022-21223 cocoapods-downloader

Package

Manager: gem
Name: cocoapods-downloader
Vulnerable Version: >=0 <1.6.2

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00921 pctl0.75111

Details

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.

Metadata

Created: 2022-04-02T00:00:13Z
Modified: 2022-04-04T21:57:37Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-g397-v4w5-4m79/GHSA-g397-v4w5-4m79.json
CWE IDs: ["CWE-74", "CWE-88"]
Alternative ID: GHSA-g397-v4w5-4m79
Finding: F184
Auto approve: 1