Vulnerabilidad en Fiddle::Handle en ext/fiddle/handle.c en Ruby (CVE-2015-7551)
Gravedad CVSS v3.1:
ALTA
Tipo:
CWE-20
Validación incorrecta de entrada
Fecha de publicación:
24/03/2016
Última modificación:
12/04/2025
Descripción
La implementación Fiddle::Handle en ext/fiddle/handle.c en Ruby en versiones anteriores a 2.0.0-p648, 2.1 en versiones anteriores a 2.1.8 y 2.2 en versiones anteriores a 2.2.4, según se distribuye en Apple OS X en versiones anteriores a 10.11.4 y otros productos, no maneja correctamente el tainting, lo que permite a atacantes dependientes del contexto ejecutar código arbitrario o causar una denegación de servicio (caída de aplicación) a través de una cadena manipulada, relacionado con el módulo DL y la librería libffi. NOTA: esta vulnerabilidad existe por una regresión de CVE-2009-5147.
Impacto
Puntuación base 3.x
8.40
Gravedad 3.x
ALTA
Puntuación base 2.0
4.60
Gravedad 2.0
MEDIA
Productos y versiones vulnerables
| CPE | Desde | Hasta |
|---|---|---|
| cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* | 10.11.3 (incluyendo) | |
| cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* | 2.0.0-p647 (incluyendo) | |
| cpe:2.3:a:ruby-lang:ruby:2.1.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:2.1.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:2.1.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:2.1.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:2.1.4:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:2.1.5:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:2.1.6:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:2.1.7:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:2.2.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:2.2.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:2.2.3:*:*:*:*:*:*:* |
Para consultar la lista completa de nombres de CPE con productos y versiones, ver esta página
Referencias a soluciones, herramientas e información
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796344
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796551
- http://lists.apple.com/archives/security-announce/2016/Mar/msg00004.html
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- http://www.securityfocus.com/bid/76060
- https://access.redhat.com/errata/RHSA-2018:0583
- https://github.com/ruby/ruby/commit/339e11a7f178312d937b7c95dd3115ce7236597a
- https://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-7551.html
- https://puppet.com/security/cve/ruby-dec-2015-security-fixes
- https://support.apple.com/HT206167
- https://www.ruby-lang.org/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796344
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796551
- http://lists.apple.com/archives/security-announce/2016/Mar/msg00004.html
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- http://www.securityfocus.com/bid/76060
- https://access.redhat.com/errata/RHSA-2018:0583
- https://github.com/ruby/ruby/commit/339e11a7f178312d937b7c95dd3115ce7236597a
- https://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-7551.html
- https://puppet.com/security/cve/ruby-dec-2015-security-fixes
- https://support.apple.com/HT206167
- https://www.ruby-lang.org/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/



