<?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>84056</bug_id>
          
          <creation_ts>2005-03-04 01:03 0000</creation_ts>
          <short_desc>mail-client/{sylpheed|sylpheed-claws} buffer overflow</short_desc>
          <delta_ts>2005-03-21 06:22:03 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <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://sylpheed.good-day.net/</bug_file_loc>
          <status_whiteboard>B2 [glsa] jaervosz</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>fbusse@gmx.de</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>genone@gentoo.org</cc>
    
    <cc>hattya@gentoo.org</cc>
    
    <cc>net-mail@gentoo.org</cc>
    
    <cc>plate@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>fbusse@gmx.de</who>
            <bug_when>2005-03-04 01:03:36 0000</bug_when>
            <thetext>Hello,
The new version fixes at least one critical buffer overflow, which has been fixed in 1.0.3 and the svn-branch for the development-version. Here&apos;s the annoucement:

From: Hiroyuki Yamamoto &lt;hiro-y@kcn.ne.jp&gt;

Hello,

Since a buffer overflow bug was found, I&apos;ve made an urgent release of
1.0.3. This problem exists in almost all of the older version, so be
sure to upgrade. In the development version, it is fixed on the svn
trunk.

Changes:

 * A buffer overflow which occurred when replying to a message with
   certain headers which contain non-ascii characters was fixed.
 * A memory leak of the composition window was fixed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-03-04 01:23:54 0000</bug_when>
            <thetext>Akinori please bump.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-03-06 02:11:14 0000</bug_when>
            <thetext>hattya / net-mail: please bump to 1.0.3</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fbusse@gmx.de</who>
            <bug_when>2005-03-07 01:45:23 0000</bug_when>
            <thetext>Development version 1.9.5 with the same fix has been released.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fbusse@gmx.de</who>
            <bug_when>2005-03-07 11:36:44 0000</bug_when>
            <thetext>The new version in portage (1.9.5) works fine for me, but please also include the references-patch from 1.9.2 (works without change for 1.9.5 as well).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rockoo@gmail.com</who>
            <bug_when>2005-03-08 05:36:03 0000</bug_when>
            <thetext>*** Bug 84379 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-03-09 12:53:44 0000</bug_when>
            <thetext>*sylpheed-1.0.3 (07 Mar 2005)

  07 Mar 2005; Akinori Hattori &lt;hattya@gentoo.org&gt; +sylpheed-1.0.3.ebuild:
  new upstream release. fixes bug #84056 and #84379.

Thx for noting Langthan.

Akinori Hattori please comment on the bug next time.

Arches please test and mark stable.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hansmi@gentoo.org</who>
            <bug_when>2005-03-09 13:11:40 0000</bug_when>
            <thetext>Stable on ppc.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hansmi@gentoo.org</who>
            <bug_when>2005-03-09 13:14:28 0000</bug_when>
            <thetext>Oopps. Reopen.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kugelfang@gentoo.org</who>
            <bug_when>2005-03-09 16:29:08 0000</bug_when>
            <thetext>Stable on amd64.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2005-03-09 22:32:20 0000</bug_when>
            <thetext>stable on ppc64</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tigger@gentoo.org</who>
            <bug_when>2005-03-10 03:28:09 0000</bug_when>
            <thetext>a quick look at compose.c in sylpheed-claws suggests its vulnerable to the compose overflow.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tigger@gentoo.org</who>
            <bug_when>2005-03-10 03:33:27 0000</bug_when>
            <thetext>I used this patch as a reference:

http://sylpheed.good-day.net/sylpheed/v1.0/sylpheed-1.0.2-1.0.3.patch.gz

And checked the source after:

rob@leet ~ $ sudo ebuild /usr/portage/mail-client/sylpheed-claws/sylpheed-claws-1.0.1.1.ebuild unpack

This version is vulnerable to the overflow which the above patch correct in sylpheed.

I haven&apos;t checked other versions, but I assume they also contain the flaw.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-03-10 03:36:33 0000</bug_when>
            <thetext>Adding genone to advise on sylpheed-claws.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gustavoz@gentoo.org</who>
            <bug_when>2005-03-10 05:49:20 0000</bug_when>
            <thetext>sparc stable.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genone@gentoo.org</who>
            <bug_when>2005-03-10 11:28:40 0000</bug_when>
            <thetext>-claws is also affected, 1.0.3 has the patch and just got into cvs as ~arch as I still have to test it a little bit more and also check the plugins.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genone@gentoo.org</who>
            <bug_when>2005-03-12 06:56:34 0000</bug_when>
            <thetext>sylpheed-claws-1.0.3 marked stable on x86 and amd64, still needs ppc, sparc and alpha love.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hansmi@gentoo.org</who>
            <bug_when>2005-03-12 08:03:58 0000</bug_when>
            <thetext>Stable on ppc.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>weeve@gentoo.org</who>
            <bug_when>2005-03-12 11:35:39 0000</bug_when>
            <thetext>Stable on SPARC.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gmsoft@gentoo.org</who>
            <bug_when>2005-03-14 00:57:02 0000</bug_when>
            <thetext>Stable on hppa \o/</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-03-14 01:30:36 0000</bug_when>
            <thetext>sylpheed-1.0.3 still needs x86 and alpha stable (ia64 should also mark stable)
sylpheed-claws-1.0.3 still needs alpha stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kloeri@gentoo.org</who>
            <bug_when>2005-03-17 13:20:46 0000</bug_when>
            <thetext>Alpha stable.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-03-18 13:50:36 0000</bug_when>
            <thetext>Hattya, please mark Sylpeed stable on x86.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lewk@gentoo.org</who>
            <bug_when>2005-03-20 14:40:43 0000</bug_when>
            <thetext>  19 Mar 2005; Akinori Hattori &lt;hattya@gentoo.org&gt; sylpheed-1.0.3.ebuild:
  stable on x86. fixes bug #84056.

Thanks hattya, but please update the bug next time.  Ready for GLSA.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lewk@gentoo.org</who>
            <bug_when>2005-03-20 15:53:13 0000</bug_when>
            <thetext>GLSA 200503-26.

ia64, please mark stable to benefit from GLSA.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hattya@gentoo.org</who>
            <bug_when>2005-03-21 06:22:03 0000</bug_when>
            <thetext>Stable on ia64. </thetext>
          </long_desc>
      
    </bug>

</bugzilla>