CVE-2022-24440
Assigner: snyk
Published: 2022-04-01T00:00:00
State: PUBLISHED
affected: product: cocoapods-downloader
vendor: n/a
versions: lessThan: 1.6.0
status: affected
version: unspecified
versionType: custom
lessThan: unspecified
status: affected
version: 1.6.2
versionType: custom
lessThan: 1.6.3
status: affected
version: unspecified
versionType: custom
credits: value: Alessio Della Libera of Snyk Research Team
datePublic: 2022-04-01T00:00:00
descriptions: value: 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.
metrics: cvssV3_1: attackComplexity: HIGH
attackVector: NETWORK
availabilityImpact: HIGH
baseScore: 8.1
baseSeverity: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
version: 3.1
problemTypes: descriptions: description: Command Injection
type: text
title: Command Injection