<?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>181977</bug_id>
          
          <creation_ts>2007-06-14 02:10 0000</creation_ts>
          <short_desc>app-forensics/sleuthkit  &lt; 2.09 includes vulnerable &quot;file&quot; code</short_desc>
          <delta_ts>2008-01-10 08:54:05 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>https://sourceforge.net/project/shownotes.php?release_id=515880&amp;group_id=55685</bug_file_loc>
          <status_whiteboard>B2 [glsa] Falco</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>hanno@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>forensics@gentoo.org</cc>
    
    <cc>jer@gentoo.org</cc>
    
    <cc>radhermit@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>hanno@gentoo.org</who>
            <bug_when>2007-06-14 02:10:15 0000</bug_when>
            <thetext>See subject, new version available.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-06-20 17:59:39 0000</bug_when>
            <thetext>*** Bug 182708 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-08-10 23:54:25 0000</bug_when>
            <thetext>i&apos;m preparing the dbtool patch for sleuthkit-2.09. But appart from that, sleuthkit-2.09 fixes the recent &quot;file&quot; vulnerabities in its &quot;file&quot; embedded code: glsa-200703-26, glsa-200704-13, 200705-25. I suggest a GLSA.

ChangeLog:
5/17/07: Update: Updated file to 4.20
(...)
6/13/07: Update: Updated file to 4.21

There is also a number of DoS fixed in this upgrade.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aetius@gentoo.org</who>
            <bug_when>2007-08-11 00:11:54 0000</bug_when>
            <thetext>Seems like this would be very hard to exploit in a meaningful way.  As I understand it, it essentially would require enticing a user to run the forensic tools on a crafted file.  The attendant problems with that scenario are pretty obvious. :)  Also I would expect that sleuthkit is not a common package by any means.  Still, it is definitely a B2, so I guess we should.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-08-29 14:50:13 0000</bug_when>
            <thetext>bumped and trying to fix bug 131268 at the same time.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-08-29 14:53:45 0000</bug_when>
            <thetext>Hi arches,

sleuthkit was shipped with a vulnerable version of the &apos;file&apos; utility. There is pretty much change between sleuthkit-0.3 and sleuthkit-0.9.

Please can you test sleuthkit-0.9 and mark is table if applicable, thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dertobi123@gentoo.org</who>
            <bug_when>2007-08-29 19:07:09 0000</bug_when>
            <thetext>ppc stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-08-30 02:50:12 0000</bug_when>
            <thetext>http://distfiles.gentoo.org/distfiles/sleuthkit-2.09_dbtool.patch.bz2 gives a 404...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-08-30 03:00:59 0000</bug_when>
            <thetext>&gt;&gt;&gt; Test phase [test]: app-forensics/sleuthkit-2.09
sh ./check-install

Checking Tools
ERROR: Missing &apos;file&apos; command
Done

&gt;&gt;&gt; Install sleuthkit-2.09 into ...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-08-30 03:10:29 0000</bug_when>
            <thetext>Stable for HPPA nonetheless.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>willard.dawson@sungard.com</who>
            <bug_when>2007-08-30 16:11:24 0000</bug_when>
            <thetext>Where is it?  Emerge can&apos;t locate the download...

&gt;&gt;&gt; Downloading &apos;ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/distfiles/sleuthkit-2.09_dbtool.patch.bz2&apos;
--12:09:32--  ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/distfiles/sleuthkit-2.09_dbtool.patch.bz2
           =&gt; `/usr/portage/distfiles/sleuthkit-2.09_dbtool.patch.bz2&apos;
Resolving cudlug.cudenver.edu... 132.194.22.137
Connecting to cudlug.cudenver.edu|132.194.22.137|:21... connected.
Logging in as anonymous ... Logged in!
==&gt; SYST ... done.    ==&gt; PWD ... done.
==&gt; TYPE I ... done.  ==&gt; CWD /pub/mirrors/distributions/gentoo/distfiles ...
No such directory `pub/mirrors/distributions/gentoo/distfiles&apos;.

!!! Couldn&apos;t download &apos;sleuthkit-2.09_dbtool.patch.bz2&apos;. Aborting.

!!! Fetch for /usr/portage/app-forensics/sleuthkit/sleuthkit-2.09.ebuild failed, continuing...



!!! Some fetch errors were encountered.  Please see above for details.

   app-forensics/sleuthkit-2.09


</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-08-30 16:22:14 0000</bug_when>
            <thetext>(In reply to comment #10)
&gt; Where is it?  Emerge can&apos;t locate the download...

See comment #2 and comment #7 ... It&apos;s not ready yet, it appears. For now you will have to contend yourself with a lesser version or with:

echo app-forensics/sleuthkit -dbtool &gt;&gt; /etc/portage/package.use</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-09-05 05:22:47 0000</bug_when>
            <thetext>So what are we going to do with this package?  Are arches still needed here?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>yoswink@gentoo.org</who>
            <bug_when>2007-09-05 10:40:33 0000</bug_when>
            <thetext>(In reply to comment #11)
&gt; (In reply to comment #10)
&gt; &gt; Where is it?  Emerge can&apos;t locate the download...
&gt; 
&gt; See comment #2 and comment #7 ... It&apos;s not ready yet, it appears.

@Jer: you say it&apos;s not ready yet (sure, it isn&apos;t ready even for ~arch) but ... 
why did you mark it as stable in hppa? This is not the first time I saw you marking stable packages after you discovered there are problems with them, so I would like to know the reason to not stop the process of stabilization.

Thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-09-05 13:50:54 0000</bug_when>
            <thetext>(In reply to comment #13)
&gt; &gt; See comment #2 and comment #7 ... It&apos;s not ready yet, it appears.
&gt; 
&gt; @Jer: you say it&apos;s not ready yet (sure, it isn&apos;t ready even for ~arch) 

I meant the dbtool patch not being ready yet. The rest of the package works fine.

&gt; This is not the first time I saw you marking stable packages after you
&gt; discovered there are problems with them, so I would like to know the reason 
&gt; to not stop the process of stabilization.

See comment #2, &quot;But appart from that,&quot; and so on. I read that as the dbtool patch being of no consequence to the included vulnerable version of file. 

`USE=-dbtool emerge =sleuthkit-2.09` works otherwise.

I think it&apos;s up to the maintainer to stop the stabilisation process. falco CC&apos;d the arches.

Besides, dertobil23 marked ppc stable before I did. Why did you ask me, not him?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>yoswink@gentoo.org</who>
            <bug_when>2007-09-05 14:16:31 0000</bug_when>
            <thetext>(In reply to comment #14)
&gt; (In reply to comment #13)
&gt; &gt; &gt; See comment #2 and comment #7 ... It&apos;s not ready yet, it appears.
&gt; &gt; 
&gt; &gt; @Jer: you say it&apos;s not ready yet (sure, it isn&apos;t ready even for ~arch) 
&gt; 
&gt; I meant the dbtool patch not being ready yet. The rest of the package works
&gt; fine.

IMHO, something triggered via USE flag is a part of our &quot;package&quot; too, but well, keep reading please. 

&gt; 
&gt; &gt; This is not the first time I saw you marking stable packages after you
&gt; &gt; discovered there are problems with them, so I would like to know the reason 
&gt; &gt; to not stop the process of stabilization.
&gt; 
&gt; See comment #2, &quot;But appart from that,&quot; and so on. I read that as the dbtool
&gt; patch being of no consequence to the included vulnerable version of file. 
&gt; 
&gt; `USE=-dbtool emerge =sleuthkit-2.09` works otherwise.

What we get here is to give our users a broken stable branch (via USE flag or not) what gives a very poor QA. When you are using the stable branch, you hope everything to works fine, everything means whatever combination of USE flags you have. 

Sometimes is not possible to test all the USE flags combinations but in this case, where we already know there is a broken combination, seems like a no-no to me marking as stable this version.

&gt; 
&gt; I think it&apos;s up to the maintainer to stop the stabilisation process. falco CC&apos;d
&gt; the arches.

falco CC&apos;d the arches (look when this happened) and didn&apos;t mention something about a broken USE. We don&apos;t know if he is aware of the not working USE. I&apos;m quite sure that anybody is going to ask for stable a version with a known broken USE.

&gt; 
&gt; Besides, dertobil23 marked ppc stable before I did. Why did you ask me, not
&gt; him?
&gt; 

dertobi123 probably has tested the package without the broken USE, so he didn&apos;t realize of the problem. Best thing to me, seems like what opfer has done, ask the maintainer and see what&apos;s happing here.

Believe me that this is nothing personal with you, just wanted to know your reasons for going to a stable with a broken USE. I understand your position of respecting the maintainer desires but, in this case, I&apos;m not sure if falco knows about the problem and anyway, and always IMHO, Gentoo shouldn&apos;t allow a broken stable branch on any arch.

@dertobi123: maybe you are interested in the problem with this version. Sorry to CC&apos;d you, if don&apos;t.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-09-21 11:21:26 0000</bug_when>
            <thetext>Falco uploaded the file so it&apos;s on the mirrors now.

Arches, please go for stabling here.
hppa and ppc, you are already stable, but maybe you want to retry with the dbtool-patch.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-09-21 13:08:51 0000</bug_when>
            <thetext>(In reply to comment #16)
&gt; Falco uploaded the file so it&apos;s on the mirrors now.

 Hooray!  x86 stable
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-09-21 17:03:40 0000</bug_when>
            <thetext>It appears to work.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dertobi123@gentoo.org</who>
            <bug_when>2007-09-25 17:18:05 0000</bug_when>
            <thetext>(In reply to comment #16)
&gt; hppa and ppc, you are already stable, but maybe you want to retry with the
&gt; dbtool-patch.
&gt; 

worksforme</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-09-26 19:29:01 0000</bug_when>
            <thetext>sparc stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>philantrop@gentoo.org</who>
            <bug_when>2007-09-28 17:08:09 0000</bug_when>
            <thetext>Marked stable on amd64.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-09-28 23:00:26 0000</bug_when>
            <thetext>B2 -&gt; GLSA. Please file a request.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>py@gentoo.org</who>
            <bug_when>2007-09-29 13:59:35 0000</bug_when>
            <thetext>(In reply to comment #22)
&gt; B2 -&gt; GLSA. Please file a request.
&gt; 

done. but I think you can do it yourself now ;)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-10-18 22:45:32 0000</bug_when>
            <thetext>GLSA 200710-19, eventually</thetext>
          </long_desc>
      
    </bug>

</bugzilla>