Vulnerabilidad en BigDecimal en Ruby (CVE-2011-0188)
Gravedad CVSS v2.0:
MEDIA
Tipo:
CWE-189
Errores numéricos
Fecha de publicación:
23/03/2011
Última modificación:
11/04/2025
Descripción
La función VpMemAlloc en bigdecimal.c en la clase BigDecimal en Ruby v1.9.2-P136 y anteriores, tal como se utiliza en Apple Mac OS X antes de vv10.6.7 y en otras plataformas, no asigna memoria adecuadamente, lo que permite a atacantes dependientes de contexto ejecutar código de su elección o causar una denegación de servicio (caída de aplicación) a través de vectores que impliquen la creación de un valor BigDecimal grande dentro de un proceso de 64 bits, relacionado con un "fallo de truncado de entero".
Impacto
Puntuación base 2.0
6.80
Gravedad 2.0
MEDIA
Productos y versiones vulnerables
| CPE | Desde | Hasta |
|---|---|---|
| cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* | 1.9.2-p136 (incluyendo) | |
| cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:1.9:r18423:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:1.9.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:1.9.0:r18423:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:1.9.0-0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:1.9.0-1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:1.9.0-2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:1.9.0-20060415:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:1.9.0-20070709:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:1.9.1:-p0:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:1.9.1:-p129:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:1.9.1:-p243:*:*:*:*:*:* | ||
| cpe:2.3:a:ruby-lang:ruby:1.9.1:-p376:*:*:*:*:*:* |
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://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html
- http://support.apple.com/kb/HT4581
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/bigdecimal/bigdecimal.c?r1=29364&r2=30993
- http://www.mandriva.com/security/advisories?name=MDVSA-2011%3A097
- http://www.mandriva.com/security/advisories?name=MDVSA-2011%3A098
- http://www.redhat.com/support/errata/RHSA-2011-0908.html
- http://www.redhat.com/support/errata/RHSA-2011-0909.html
- http://www.redhat.com/support/errata/RHSA-2011-0910.html
- http://www.securitytracker.com/id?1025236=
- https://bugzilla.redhat.com/show_bug.cgi?id=682332
- http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html
- http://support.apple.com/kb/HT4581
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/bigdecimal/bigdecimal.c?r1=29364&r2=30993
- http://www.mandriva.com/security/advisories?name=MDVSA-2011%3A097
- http://www.mandriva.com/security/advisories?name=MDVSA-2011%3A098
- http://www.redhat.com/support/errata/RHSA-2011-0908.html
- http://www.redhat.com/support/errata/RHSA-2011-0909.html
- http://www.redhat.com/support/errata/RHSA-2011-0910.html
- http://www.securitytracker.com/id?1025236=
- https://bugzilla.redhat.com/show_bug.cgi?id=682332



