CVE-2022-24440 – cocoapods-downloader
Package
Manager: gem
Name: cocoapods-downloader
Vulnerable Version: >=0 <1.6.0 || >=1.6.2 <1.6.3
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.01555 pctl0.8075
Details
Command injection in cocoapods-downloader The package cocoapods-downloader before 1.6.0, from 1.6.2 and before 1.6.3 are vulnerable to Command Injection via git argument injection. When calling the Pod::Downloader.preprocess_options function and using git, both the git and branch parameters are passed to the git ls-remote subcommand 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:58:52Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-7627-mp87-jf6q/GHSA-7627-mp87-jf6q.json
CWE IDs: ["CWE-74", "CWE-88"]
Alternative ID: GHSA-7627-mp87-jf6q
Finding: F184
Auto approve: 1