#VU84822 Improper Neutralization of Argument Delimiters in a Command in cocoapods-downloader - CVE-2022-21223 

 

#VU84822 Improper Neutralization of Argument Delimiters in a Command in cocoapods-downloader - CVE-2022-21223

Published: December 28, 2023


Vulnerability identifier: #VU84822
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2022-21223
CWE-ID: CWE-88
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
cocoapods-downloader
Software vendor:
CocoaPods

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to the url (and/or revision, tag, branch) is passed to the hg clone command in a way that additional flags can be set when calling the download function (when using hg). A remote unauthenticated attacker can trigger the vulnerability to perform a command injection.


Remediation

Install updates from vendor's website.

External links