CVE-2022-21223 HIGH

CVE-2022-21223: Command Injection

Vendor N/A
Product cocoapods-downloader
Published April 1, 2022
Last update September 17, 2024

CVSS base score

8.1/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 1, 2022 CVE published
September 17, 2024 Record updated