8.1high
Command Injection
- Severity
- 8.1high CVSS:3.1 by snyk
- Exploit likelihood
- 3.03% (higher than 88% of CVEs)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-7627-mp87-jf6qSNYK-RUBY-COCOAPODSDOWNLOADER-2414278
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| cocoapods-downloader | from unspecified before 1.6.0, from 1.6.2 before unspecified, from unspecified before 1.6.3 | CVE List |
| cocoapods-downloader (RubyGems) | before 1.6.0, from 1.6.2 before 1.6.3 | GitHub Advisory Database |
| cocoapods cocoapods-downloader | before 1.6.0, 1.6.2 | NVD |
All scores
| snyk | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
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
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-24440 changed 2024-09-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7627-mp87-jf6q changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2022-24440 changed 2026-06-17 | Public domain |