CVE-2022-24440
Command Injection
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
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
CVSS Scores
SSVC
- Decision:-
Timeline
- 2022-02-24 CVE Reserved
- 2022-04-01 CVE Published
- 2024-09-17 CVE Updated
- 2024-12-15 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
CAPEC
References (3)
URL | Tag | Source |
---|---|---|
https://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414278 | Third Party Advisory |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://github.com/CocoaPods/cocoapods-downloader/pull/124 | 2022-04-08 | |
https://github.com/CocoaPods/cocoapods-downloader/pull/128 | 2022-04-08 |
URL | Date | SRC |
---|
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
|