Joined: 12 May 2004
|Posted: Mon Dec 10, 2007 2:26 am Post subject: [ GLSA 200712-09 ] Ruby-GNOME2: Format string error
|Gentoo Linux Security Advisory
Title: Ruby-GNOME2: Format string error (GLSA 200712-09)
Date: December 09, 2007
A format string error has been discovered in Ruby-GNOME2, possibly leading to the execution of arbitrary code.
Ruby-GNOME2 is a set of bindings for using GTK+ within the Ruby programming language.
Vulnerable: < 0.16.0-r2
Unaffected: >= 0.16.0-r2
Architectures: All supported architectures
Chris Rohlf discovered that the "Gtk::MessageDialog.new()" method in the file gtk/src/rbgtkmessagedialog.c does not properly sanitize the "message" parameter before passing it to the gtk_message_dialog_new() function.
A remote attacker could send a specially crafted string to an application using Ruby-GNOME2, possibly leading to the execution of arbitrary code with the privileges of the user running the application.
There is no known workaround at this time.
All Ruby-GNOME2 users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-ruby/ruby-gtk2-0.16.0-r2"
Last edited by GLSA on Wed Mar 19, 2008 4:18 am; edited 2 times in total