// For flags

CVE-2022-24440

Command Injection

Severity Score

9.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

El paquete cocoapods-downloader versiones anteriores a 1.6.0, a partir de la 1.6.2 y anteriores a 1.6.3 son vulnerables a la inyección de comandos por medio de una inyección de argumentos git. Cuando es llamada a la función Pod::Downloader.preprocess_options y es usado git, tanto el parámetro git como el de la rama son pasados al subcomando git ls-remote de forma que pueden establecerse flags adicionales. Las flags adicionales pueden usarse para llevar a cabo una inyección de comandos

*Credits: Alessio Della Libera of Snyk Research Team
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2022-02-24 CVE Reserved
  • 2022-04-01 CVE Published
  • 2024-09-17 CVE Updated
  • 2024-10-10 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Cocoapods
Search vendor "Cocoapods"
Cocoapods-downloader
Search vendor "Cocoapods" for product "Cocoapods-downloader"
< 1.6.0
Search vendor "Cocoapods" for product "Cocoapods-downloader" and version " < 1.6.0"
-
Affected
Cocoapods
Search vendor "Cocoapods"
Cocoapods-downloader
Search vendor "Cocoapods" for product "Cocoapods-downloader"
1.6.2
Search vendor "Cocoapods" for product "Cocoapods-downloader" and version "1.6.2"
-
Affected