<?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>223965</bug_id>
          <alias>CVE-2008-2426</alias>
          <creation_ts>2008-05-28 15:22 0000</creation_ts>
          <short_desc>media-libs/imlib2 &lt;1.4.0-r1 PNM and XPM Buffer Overflow Vulnerabilities (CVE-2008-2426)</short_desc>
          <delta_ts>2008-06-08 20:52:09 0000</delta_ts>
          
          
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Security</product>
          <component>Vulnerabilities</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://secunia.com/advisories/30401/</bug_file_loc>
          <status_whiteboard>B2 [glsa]</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>vorlon@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>arm@gentoo.org</cc>
    
    <cc>sh@gentoo.org</cc>
    
    <cc>vapier@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>vorlon@gentoo.org</who>
            <bug_when>2008-05-28 15:22:26 0000</bug_when>
            <thetext>This bug is marked confidential, do not disclose any information or commit
anything until the bug has been made public.

Secunia Research reports a vulnerability in imlib2 (CVE-2008-2426).
Preliminary disclosure date is 2008-06-11.

The following is an excerpt from the vulnerability report, more details are
available:
[...]
Credit: Stefan Cornelius, Secunia Research
[...]

-- Details --

1) There is a boundary error within the &quot;load()&quot; function in
src/modules/loaders/loader_pnm.c when reading the header of an PNM image
file, which can be exploited to cause a stack-based buffer overflow by
e.g. tricking a user into opening a specially crafted PNM image with an
application using the imlib2 library.
[...]
Successful exploitation allows the execution of arbitrary code.

2) There is a boundary error within the &quot;load()&quot; function in
src/modules/loader_xpm.c when processing an XPM image file, which can be
exploited to cause a stack-based buffer overflow by e.g. tricking a user
into opening a specially crafted XPM image with an application using the
imlib2 library.
[...]</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vorlon@gentoo.org</who>
            <bug_when>2008-05-28 15:25:06 0000</bug_when>
            <thetext>upstream has been contacted by secunia btw</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vorlon@gentoo.org</who>
            <bug_when>2008-05-29 15:00:50 0000</bug_when>
            <thetext>public via $URL

patch is supposed to be in CVS according to that advisory</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>thoger@redhat.com</who>
            <bug_when>2008-05-30 09:36:22 0000</bug_when>
            <thetext>Patches from upstream CVS:

https://bugzilla.redhat.com/show_bug.cgi?id=449073#c4

HTH</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2008-05-31 05:42:43 0000</bug_when>
            <thetext>ive added 1.4.0-r1 and imlib2-1.4.1.000-r1 to the tree ... while both should be fine for stable, i imagine people would be more comfortable with the former</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2008-05-31 09:11:44 0000</bug_when>
            <thetext>That was a straight-to-stable bump for 1.4.0-r1 ;-)

So going directly to [glsa]</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2008-05-31 10:51:31 0000</bug_when>
            <thetext>imlib2-1.4.0-r1 isnt in stable ...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2008-05-31 23:34:06 0000</bug_when>
            <thetext>(In reply to comment #6)
&gt; imlib2-1.4.0-r1 isnt in stable ...

You are right. In that case, it seems there is a bug in adjutrix, because it actually outputs the version as stable:
...
1.4.0-r1     | + + + + +   + + +   + +   + ~ |
...
grep KEYWORDS proves you right:
imlib2-1.4.0-r1.ebuild:KEYWORDS=&quot;~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2008-05-31 23:34:51 0000</bug_when>
            <thetext>Arches, please test and mark stable:
=media-libs/imlib2-1.4.0-r1
Target keywords : &quot;alpha amd64 arm hppa ia64 ppc ppc64 release sh sparc x86&quot;
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2008-06-01 08:45:34 0000</bug_when>
            <thetext>x86 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2008-06-01 10:54:27 0000</bug_when>
            <thetext>ppc64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2008-06-02 04:14:00 0000</bug_when>
            <thetext>Stable for HPPA.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2008-06-02 10:24:08 0000</bug_when>
            <thetext>alpha/ia64/sparc stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>beandog@gentoo.org</who>
            <bug_when>2008-06-03 14:20:05 0000</bug_when>
            <thetext>amd64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dertobi123@gentoo.org</who>
            <bug_when>2008-06-05 18:06:53 0000</bug_when>
            <thetext>ppc stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pva@gentoo.org</who>
            <bug_when>2008-06-06 07:52:26 0000</bug_when>
            <thetext>Fixed in release snapshot.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>keytoaster@gentoo.org</who>
            <bug_when>2008-06-06 17:05:54 0000</bug_when>
            <thetext>GLSA request filed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>keytoaster@gentoo.org</who>
            <bug_when>2008-06-08 20:52:09 0000</bug_when>
            <thetext>GLSA 200806-03</thetext>
          </long_desc>
      
    </bug>

</bugzilla>