<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200712-09">
  <title>Ruby-GNOME2: Format string error</title>
  <synopsis>
    A format string error has been discovered in Ruby-GNOME2, possibly leading
    to the execution of arbitrary code.
  </synopsis>
  <product type="ebuild">ruby-gtk2</product>
  <announced>2007-12-09</announced>
  <revised count="01">2007-12-09</revised>
  <bug>200623</bug>
  <access>remote</access>
  <affected>
    <package name="dev-ruby/ruby-gtk2" auto="yes" arch="*">
      <unaffected range="ge">0.16.0-r2</unaffected>
      <vulnerable range="lt">0.16.0-r2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Ruby-GNOME2 is a set of bindings for using GTK+ within the Ruby
    programming language.
    </p>
  </background>
  <description>
    <p>
    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.
    </p>
  </description>
  <impact type="normal">
    <p>
    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.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Ruby-GNOME2 users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=dev-ruby/ruby-gtk2-0.16.0-r2"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6183">CVE-2007-6183</uri>
  </references>
  <metadata tag="requester" timestamp="2007-12-04T18:00:54Z">
    rbu
  </metadata>
  <metadata tag="submitter" timestamp="2007-12-04T22:24:59Z">
    p-y
  </metadata>
  <metadata tag="bugReady" timestamp="2007-12-04T22:25:12Z">
    p-y
  </metadata>
</glsa>
