Bug 402871 (CVE-2007-6183)

Summary: CVE-2007-6183 ruby-gnome2: format string vulnerability
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Allisson Azevedo <allisson>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://em386.blogspot.com/2007/11/your-favorite-better-than-c-scripting.html
Whiteboard:
Fixed In Version: 0.16.0-18.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-12-06 20:55:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 405591, 405601, 405611    
Bug Blocks:    
Attachments:
Description Flags
Reproducer extracted from Chris Rohlf's blog none

Description Tomas Hoger 2007-11-28 14:50:34 UTC
Secunia advisory:

Chris Rohlf has reported a vulnerability in Ruby-GNOME2, which can potentially
be exploited by malicious people to compromise an application using the library.

The vulnerability is caused due to a format string error within the
"Gtk::MessageDialog.new()" method in gtk/src/rbgtkmessagedialog.c and can
potentially be exploited to execute arbitrary code when a specially crafted
string is passed to the affected function.

NOTE: Exploitation and impact of this vulnerability depend on how an application
uses the affected function of the vulnerable library.

The vulnerability is reported in version 0.16.0. Other versions may also be
affected.

References:
http://em386.blogspot.com/2007/11/your-favorite-better-than-c-scripting.html
http://secunia.com/advisories/27825/

Upstream SVN commit:
http://ruby-gnome2.svn.sourceforge.net/viewvc/ruby-gnome2?view=rev&revision=2720

Comment 1 Tomas Hoger 2007-11-28 14:51:53 UTC
Created attachment 271351 [details]
Reproducer extracted from Chris Rohlf's blog

Comment 2 Tomas Hoger 2007-11-30 08:59:55 UTC
CVE id CVE-2007-6183 was assigned to this issue.

Comment 3 Fedora Update System 2007-12-06 20:55:43 UTC
ruby-gnome2-0.16.0-18.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2007-12-06 22:50:22 UTC
ruby-gnome2-0.16.0-18.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.