CVE-2011-1005 – Ruby: Untrusted codes able to modify arbitrary strings
https://notcve.org/view.php?id=CVE-2011-1005
The safe-level feature in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through 1.8.7-330, and 1.8.8dev allows context-dependent attackers to modify strings via the Exception#to_s method, as demonstrated by changing an intended pathname. La funcionalidad safe-level de Ruby 1.8.6 hasta la versión 1.8.6-420, 1.8.7 hasta la 1.8.7-330 y 1.8.8dev permite a atacantes, dependiendo del contexto, modificar cadenas de texto a través del método Exception#to_s method, como se ha demostrado cambiando el pathname previsto. • http://lists.apple.com/archives/security-announce/2012/May/msg00001.html http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054422.html http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054436.html http://osvdb.org/70957 http://secunia.com/advisories/43420 http://secunia.com/advisories/43573 http://support.apple.com/kb/HT5281 http://www.mandriva.com/security/advisories?name=MDVSA-2011:097 http://www.mandriva.com/security/advisories?name=MDVSA-2011:098 h • CWE-264: Permissions, Privileges, and Access Controls •
CVE-2010-2489
https://notcve.org/view.php?id=CVE-2010-2489
Buffer overflow in Ruby 1.9.x before 1.9.1-p429 on Windows might allow local users to gain privileges via a crafted ARGF.inplace_mode value that is not properly handled when constructing the filenames of the backup files. Desbordamiento de búfer en Ruby v1.9.x anterior v1.9.1-p429 en Windows puede permitir a usuarios locales ganar privilegios mediante un valor ARGF.inplace_mode manipulado que no es correctamente manejado cuando construye los nombres de archivos de los ficheros backup • http://osdir.com/ml/ruby-talk/2010-07/msg00095.html http://secunia.com/advisories/40442 http://svn.ruby-lang.org/repos/ruby/tags/v1_9_1_429/ChangeLog http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_rc1/ChangeLog http://www.openwall.com/lists/oss-security/2010/07/02/1 http://www.openwall.com/lists/oss-security/2010/07/02/10 http://www.osvdb.org/66040 http://www.ruby-lang.org/en/news/2010/07/02/ruby-1-9-1-p429-is-released http:// • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer •
CVE-2009-4492 – Ruby 1.9.1 - WEBrick 'Terminal Escape Sequence in Logs' Command Injection
https://notcve.org/view.php?id=CVE-2009-4492
WEBrick 1.3.1 in Ruby 1.8.6 through patchlevel 383, 1.8.7 through patchlevel 248, 1.8.8dev, 1.9.1 through patchlevel 376, and 1.9.2dev writes data to a log file without sanitizing non-printable characters, which might allow remote attackers to modify a window's title, or possibly execute arbitrary commands or overwrite files, via an HTTP request containing an escape sequence for a terminal emulator. WEBrick v1.3.1 en Ruby v1.8.6 del patchlevel 383, v1.8.7 al patchlevel 248, v1.8.8dev, 1.9.1 al patchlevel 376, y v1.9.2dev ,escribe datos en un archivo de los sin depurar los caracteres no escribibles, lo que podría permitir a atacantes remotos modificar la ventana de título, o posiblemente ejecutar comandos de su elección o sobrescribir archivos, a través de una petición HTTP que contiene una secuencia de escape para el emulador de terminal. Nginx, Varnish, Cherokee, thttpd, mini-httpd, WEBrick, Orion, AOLserver, Yaws and Boa are subject to log escape sequence injection vulnerabilities. • https://www.exploit-db.com/exploits/33489 http://secunia.com/advisories/37949 http://securitytracker.com/id?1023429 http://www.redhat.com/support/errata/RHSA-2011-0908.html http://www.redhat.com/support/errata/RHSA-2011-0909.html http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection http://www.securityfocus.com/archive/1/508830/100/0/threaded http://www.securityfocus.com/bid/37710 http://www.ush.it/team/ush/hack_httpd_escape/adv.txt http: •
CVE-2009-4124
https://notcve.org/view.php?id=CVE-2009-4124
Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 before 1.9.1-p376 allows context-dependent attackers to execute arbitrary code via unspecified vectors involving (1) String#ljust, (2) String#center, or (3) String#rjust. NOTE: some of these details are obtained from third party information. Desbordamiento del búfer de la memoria dinámica en la función rb_str_justify en string.c en Ruby v1.9.1 en versiones anteriores a v1.9.1-p376 atacantes dependientes del contexto podrían ejecutar código arbitrario a través de vectores sin especificar que incluyen (1) String#ljust, (2) String#center, o (3) String#rjust. NOTA: Algunos de los detalles han sido obtenidos de terceros. • http://secunia.com/advisories/37660 http://www.osvdb.org/60880 http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string http://www.securityfocus.com/bid/37278 http://www.vupen.com/english/advisories/2009/3471 https://exchange.xforce.ibmcloud.com/vulnerabilities/54674 • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer •
CVE-2009-1904 – ruby: DoS vulnerability in BigDecimal
https://notcve.org/view.php?id=CVE-2009-1904
The BigDecimal library in Ruby 1.8.6 before p369 and 1.8.7 before p173 allows context-dependent attackers to cause a denial of service (application crash) via a string argument that represents a large number, as demonstrated by an attempted conversion to the Float data type. La librería BigDecimal en Ruby v1.8.6 anteriores p369 y v1.8.7, anteriores a p173 permite a los atacantes dependientes del contexto causar una denegación de servicio (caída de la aplicación) a través de un argumento de cadena de caracteres que representa un número largo, como se demuestra por un intento de conversión al tipo de dato Float. • http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532689 http://bugs.gentoo.org/show_bug.cgi?id=273213 http://github.com/NZKoz/bigdecimal-segfault-fix/tree/master http://groups.google.com/group/rubyonrails-security/msg/fad60751e2b9b4f6?dmode=source http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html http://mail-index.netbsd.org/pkgsrc-changes/2009/06/10/msg024708.html http://osvdb.org/55031 http://redmine.ruby-lang.org/issues/show/794 http://secunia.c • CWE-189: Numeric Errors •