<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>163678</bug_id>
          
          <creation_ts>2007-01-24 23:56 0000</creation_ts>
          <short_desc>gtk+-2 image DoS CVE-2007-0010</short_desc>
          <delta_ts>2007-06-26 10:33:29 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-0010</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>170853</blocked>
    
    <blocked>171107</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>keith@email.arizona.edu</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          <cc>gnome@gentoo.org</cc>
    
    <cc>pacho@condmat1.ciencias.uniovi.es</cc>

      

      
          <long_desc isprivate="0">
            <who>keith@email.arizona.edu</who>
            <bug_when>2007-01-24 23:56:31 0000</bug_when>
            <thetext>This is lame:

The GdkPixbufLoader function in GIMP ToolKit (GTK+) in GTK 2 (gtk2) before 2.4.13 allows context-dependent attackers to cause a denial of service (crash) via a malformed image file.


Reproducible: Didn&apos;t try




https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218932
http://www.redhat.com/support/errata/RHSA-2007-0019.html</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hanno@gentoo.org</who>
            <bug_when>2007-01-25 08:43:37 0000</bug_when>
            <thetext>When reading the announcement, is there any reason why you think this is gimp-specific? I think this will affect all gtk2-apps.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lkundrak@v3.sk</who>
            <bug_when>2007-01-25 16:18:02 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; When reading the announcement, is there any reason why you think this is
&gt; gimp-specific? I think this will affect all gtk2-apps.

No reason. Actually it only has security implication in conjuction with
software that has as stupid^Wsmart crash-handling as Evolution does.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-02-06 12:36:18 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; 
&gt; No reason. Actually it only has security implication in conjuction with
&gt; software that has as stupid^Wsmart crash-handling as Evolution does.
&gt; 

Yes but the bug resides in gtk+. Adding gnome herd in Cc.
Since this is a client-side DoS with weak risk exposure (only a few softwares are concerned), i don&apos;t think that merit a security process. Usually we don&apos;t handle client-side DoSes.
Reassigning to the gnome herd.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dang@gentoo.org</who>
            <bug_when>2007-02-06 16:35:44 0000</bug_when>
            <thetext>That says &quot;before 2.4.13&quot; but 2.6.10 is the oldest version we have in the tree.  Am I missing something?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>keith@email.arizona.edu</who>
            <bug_when>2007-02-06 19:25:05 0000</bug_when>
            <thetext>I think when I first reported the bug, I thought it was gimp specific and that the 2.4.13 was referring to gimp.  oops. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dang@gentoo.org</who>
            <bug_when>2007-02-07 04:14:10 0000</bug_when>
            <thetext>Okay, closing then.  No problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pva@gentoo.org</who>
            <bug_when>2007-03-11 12:58:54 0000</bug_when>
            <thetext>Reopening. CVE is wrong about version numbers. I think this misleading version comes from redhat where the fix for this problem was backported to gtk-2.14.13. But we use UPSTREAM gtk+ version where this bug was fixed later. Currently this bug still is in the latest stable gtk+-2.10.6. Daniel, I&apos;ve CC you in gnome bugzilla where I&apos;ve reported my observations ( bugzilla.gnome.org/353430 ).

Repeating here: Bug is reproducible with gtk+-2.10.6 and is NOT reproducible with gtk+-2.10.7-r1. The following patch

http://svn.gnome.org/viewcvs/gtk%2B/trunk/gdk-pixbuf/gdk-pixbuf-loader.c?r1=16010&amp;r2=16803&amp;pathrev=17165

and corresponding ChangeLog entry seems to fix the problem:

2006-12-09  Matthias Clasen  &lt;mclasen@redhat.com&gt;

        * gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Behave as
        documented and close the loader when returning FALSE.

http://svn.gnome.org/viewcvs/gtk%2B/trunk/gdk-pixbuf/gdk-pixbuf-loader.c?view=log&amp;pathrev=17165

Obviously suggested solution is to stabilize gtk-2.10.7-r1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leio@gentoo.org</who>
            <bug_when>2007-03-11 18:46:27 0000</bug_when>
            <thetext>I would go for stabilizing the following:

dev-libs/glib-2.12.9
x11-libs/pango-1.14.10
x11-libs/gtk+-2.10.9 (instead of just 2.10.7-r1).

All of these (gtk+ and bottom stack) have been in the tree for over 30 days and seem due for stabilization.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>remi@gentoo.org</who>
            <bug_when>2007-03-11 22:51:37 0000</bug_when>
            <thetext>vote +1, they fix a few bugs here and there. Definitely worth stabilizing together.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dang@gentoo.org</who>
            <bug_when>2007-03-13 23:54:11 0000</bug_when>
            <thetext>I agree.

Arches: please stabilize

dev-libs/glib-2.12.9 alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86
x11-libs/pango-1.14.10 alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86
x11-libs/gtk+-2.10.9 alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86

mips:  Since you don&apos;t have anything in the current major rev of any of these keyworded stable, feel free to leave them ~mips if you prefer.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>angelos@gentoo.org</who>
            <bug_when>2007-03-14 00:29:20 0000</bug_when>
            <thetext>everything emerges fine and works on amd64

Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.20-beyond1 x86_64)
=================================================================
System uname: 2.6.20-beyond1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 13 Mar 2007 23:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS=&quot;amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-march=k8 -O2 -pipe -msse3&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/share/X11/xkb&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo&quot;
CXXFLAGS=&quot;-march=k8 -O2 -pipe -msse3&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig buildsyspkg ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test&quot;
GENTOO_MIRRORS=&quot;ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ &quot;
LANG=&quot;en_US.ISO-8859-15&quot;
LC_ALL=&quot;en_US.ISO-8859-15&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_EXTRA_OPTS=&quot;--exclude-from=/etc/portage/rsync_excludes&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage/overlay /usr/portage/local/layman/break-my-gentoo-main&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;X aac acpi alsa amd64 audiofile berkdb bitmap-fonts bzip2 cairo cdinstall cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode fam firefox fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv jpeg ldap libg++ lirc logrotate mad midi mikmod mp3 mpeg ncurses nls nptl nptlonly offensive ogg opengl pam pcre php png ppds pppd quicktime readline reflection sdl session socks5 spl ssl svg symlink tcpd test tiff truetype truetype-fonts type1-fonts unicode v4l vorbis xinerama xorg xv xvid zlib&quot; ALSA_CARDS=&quot;emu10k1&quot; ALSA_PCM_PLUGINS=&quot;adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;evdev keyboard&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LIRC_DEVICES=&quot;inputlirc&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;fglrx nvidia&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-03-14 07:37:19 0000</bug_when>
            <thetext>UnCCing Security as this seems like a &quot;crash in client application only&quot; type of thing.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-03-14 09:34:57 0000</bug_when>
            <thetext>x86 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2007-03-14 11:10:37 0000</bug_when>
            <thetext>amd64 stable, thanks Christoph</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-03-15 04:28:31 0000</bug_when>
            <thetext>Stable for HPPA.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gustavoz@gentoo.org</who>
            <bug_when>2007-03-15 15:03:26 0000</bug_when>
            <thetext>sparc stable.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2007-03-15 16:59:12 0000</bug_when>
            <thetext>ppc64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2007-03-22 21:35:02 0000</bug_when>
            <thetext>alpha/ia64/ppc done...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leio@gentoo.org</who>
            <bug_when>2007-05-18 14:08:10 0000</bug_when>
            <thetext>Packages that have some arches not marked stable yet (possibly on purpose, but still on CC list):

x11-libs/pango-1.14.10 arm mips sh
x11-libs/gtk+-2.10.9 arm mips sh

Removing s390 from CC as they got the relevant glib version stable silently</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leio@gentoo.org</who>
            <bug_when>2007-06-26 10:33:29 0000</bug_when>
            <thetext>mips was done some time ago silently as well. All done now, closing as fixed</thetext>
          </long_desc>
      
    </bug>

</bugzilla>