CVE-2022-24440Cocoapods-downloader
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Cocoapods · Cocoapods-downloader Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.0% probabilidad de explotación en 30 días · percentil 88
- Requiere autenticación
- No
- Publicada
- 1 abr 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-88
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Cocoapods-downloader.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| RubyGems | cocoapods-downloader |
< 1.6.0 |
1.6.0 |
gem "cocoapods-downloader", ">= 1.6.0" |
| RubyGems | cocoapods-downloader |
≥ 1.6.2 < 1.6.3 |
1.6.3 |
gem "cocoapods-downloader", ">= 1.6.3" |
Según OSV / GitHub Advisories (GHSA-7627-mp87-jf6q). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| cocoapods | cocoapods-downloader | < 1.6.0 |
| cocoapods | cocoapods-downloader | 1.6.2 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- snyk.io Third Party Advisory