CocoaPods Downloader command execution | CVE-2022-24440
NAME
CocoaPods Downloader command execution
- Platforms Affected:
CocoaPods Downloader 1.5.1 - Risk Level:
8.1 - Exploitability:
Unproven - Consequences:
Gain Access
DESCRIPTION
CocoaPods Downloader could allow a remote attacker to execute arbitrary commands on the system, caused by git argument injection when calling the Pod::Downloader.preprocess_options function. By sending a specially-crafted request using the git and branch parameters, an attacker could exploit this vulnerability to execute arbitrary commands on the system.
CVSS 3.0 Information
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Access Vector: Network
- Access Complexity: High
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: High
- Remediation Level: Official Fix
MITIGATION
Upgrade to the latest version of CocoaPods Downloader (1.6.0, 1.6.3 or later), available from the cocoapods-downloader GIT Repository. See References.
- Reference Link:
https://security.snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414278 - Reference Link:
https://github.com/CocoaPods/cocoapods-downloader/pull/124
If you like the site, please consider joining the telegram channel and supporting us on Patreon using the button below.