CVE-2017-17405Ruby-lang Ruby
Alta 8.8 Sin autenticaciónEPSS alto
Seguir: esta CVE · Ruby-lang · Ruby-lang Ruby Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 75
- CVSS 3.0
- 8.8
- EPSS
- 73.8% probabilidad de explotación en 30 días · percentil 100
- Requiere autenticación
- No
- Publicada
- 15 dic 2017
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-78
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Qué pasa
Ruby before 2.4.3 allows Net::FTP command injection. Net::FTP#get, getbinaryfile, gettextfile, put, putbinaryfile, and puttextfile use Kernel#open to open a local file. If the localfile argument starts with the "|" pipe character, the command following the pipe character is executed. The default value of localfile is File.basename(remotefile), so malicious FTP servers could cause arbitrary command execution.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Ruby.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| ruby-lang | ruby | ≥ 2.2 ≤ 2.2.8 |
| ruby-lang | ruby | ≥ 2.3 ≤ 2.3.5 |
| ruby-lang | ruby | ≥ 2.4 ≤ 2.4.2 |
| ruby-lang | ruby | 2.5.0 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| redhat | enterprise_linux_desktop | 7.0 |
| redhat | enterprise_linux_server | 7.0 |
| redhat | enterprise_linux_server_aus | 7.4 |
| redhat | enterprise_linux_server_aus | 7.6 |
| redhat | enterprise_linux_server_eus | 7.4 |
| redhat | enterprise_linux_server_eus | 7.5 |
| redhat | enterprise_linux_server_eus | 7.6 |
| redhat | enterprise_linux_server_tus | 7.4 |
| redhat | enterprise_linux_server_tus | 7.6 |
| redhat | enterprise_linux_workstation | 7.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- www.debian.org Third Party Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- www.ruby-lang.org Vendor Advisory
- www.ruby-lang.org Patch Release Notes Vendor Advisory