<?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>176584</bug_id>
          
          <creation_ts>2007-04-30 14:35 0000</creation_ts>
          <short_desc>x11-misc/xscreensaver Authentication flaw (CVE-2007-1859)</short_desc>
          <delta_ts>2007-11-20 09:22:11 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/25065/</bug_file_loc>
          <status_whiteboard>B? [glsa] jaervosz</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jaervosz@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-04-30 14:35:09 0000</bug_when>
            <thetext>I&apos;m not sure this is public yet. From post on Vendor-sec:

According to Ray Strode this is due to a flaw in the way xscreensaver
parses a call to getpwuid(getuid()), a local user can unlock the screen
using any password.  It seems the call to getpwuid can return NULL in this
instance.  I&apos;m attaching Ray&apos;s patch.

This is fixed in 5.02 but a quick search of the Changelog didn&apos;t mention this explicitly.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-04-30 14:35:30 0000</bug_when>
            <thetext>drac please advise.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ssuominen@gentoo.org</who>
            <bug_when>2007-05-01 13:09:55 0000</bug_when>
            <thetext>Could you attach the patch mentioned?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ssuominen@gentoo.org</who>
            <bug_when>2007-05-01 13:48:56 0000</bug_when>
            <thetext>I&apos;m working on upgrading xscreensaver as we speak but I would like to verify it really fixes this issue.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-05-01 14:16:15 0000</bug_when>
            <thetext>Created an attachment (id=117844)
xscreensaver-4.18-check-for-null-passwd-entry.patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ssuominen@gentoo.org</who>
            <bug_when>2007-05-01 14:26:33 0000</bug_when>
            <thetext>(In reply to comment #4)
&gt; Created an attachment (id=117844) [edit]
&gt; xscreensaver-4.18-check-for-null-passwd-entry.patch
&gt; 

Confirming it&apos;s fixed in 5.02.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-05-01 14:39:36 0000</bug_when>
            <thetext>Samuli, is 5.x ready for stable marking?

Also I did you find any detailed public information about this yet?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ssuominen@gentoo.org</who>
            <bug_when>2007-05-01 15:03:58 0000</bug_when>
            <thetext>(In reply to comment #6)
&gt; Samuli, is 5.x ready for stable marking?


5.02 fixing this issue is ready to go stable, and bug 167688 should be marked duplicate of it.

&gt; 
&gt; Also did you find any detailed public information about this yet?
&gt; 

Couldn&apos;t find any information about it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-05-01 15:27:19 0000</bug_when>
            <thetext>Calling arch security liaisons. Please test and mark stable.

Bug #167688 will be duped once this goes public. I guess alpha and mips can unCC themselves from it though.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2007-05-01 17:50:43 0000</bug_when>
            <thetext>xscreensaver-5.01-nsfw.patch does not apply:


* Applying xscreensaver-5.01-nsfw.patch ...

 * Failed Patch: xscreensaver-5.01-nsfw.patch !
 *  ( /usr/portage/x11-misc/xscreensaver/files/xscreensaver-5.01-nsfw.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/paludis/x11-misc/xscreensaver-5.02/temp//xscreensaver-5.01-nsfw.patch-17175.out</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-05-01 18:06:28 0000</bug_when>
            <thetext>Back to ebuild status to get this fixed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ssuominen@gentoo.org</who>
            <bug_when>2007-05-01 18:45:05 0000</bug_when>
            <thetext>(In reply to comment #10)
&gt; Back to ebuild status to get this fixed.
&gt; 

Oops, overlooked patch used for USE=&quot;-offensive&quot;. Fixed patch is in CVS, thanks Corsair for not using offensive material. :-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-05-01 18:48:26 0000</bug_when>
            <thetext>Back to stable again then :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2007-05-02 08:04:48 0000</bug_when>
            <thetext>ppc64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gustavoz@gentoo.org</who>
            <bug_when>2007-05-02 13:29:07 0000</bug_when>
            <thetext>sparc stable.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>beandog@gentoo.org</who>
            <bug_when>2007-05-02 14:09:40 0000</bug_when>
            <thetext>amd64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kloeri@gentoo.org</who>
            <bug_when>2007-05-02 18:59:38 0000</bug_when>
            <thetext>Alpha stable.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tsunam@gentoo.org</who>
            <bug_when>2007-05-03 02:27:10 0000</bug_when>
            <thetext>I&apos;ll get to it tomorrow, I just got back and need to recover from the trip</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>killerfox@gentoo.org</who>
            <bug_when>2007-05-03 04:49:35 0000</bug_when>
            <thetext>I&apos;m not able to do the security stuff until 11th of May. For more information look at my devaway. Adding JeR to all security relevant bugs.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ssuominen@gentoo.org</who>
            <bug_when>2007-05-03 13:10:45 0000</bug_when>
            <thetext>*** Bug 176913 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-05-03 18:26:36 0000</bug_when>
            <thetext>Opening since this is public now and replacing arch security liasons with arches.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dertobi123@gentoo.org</who>
            <bug_when>2007-05-03 19:09:20 0000</bug_when>
            <thetext>ppc stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-05-03 20:15:19 0000</bug_when>
            <thetext>ia64 + x86 stable and removing security liaisons.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-05-05 05:22:07 0000</bug_when>
            <thetext>Stable for HPPA.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-05-05 06:35:44 0000</bug_when>
            <thetext>This one is ready for GLSA vote. I vote YES.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>py@gentoo.org</who>
            <bug_when>2007-05-08 10:39:41 0000</bug_when>
            <thetext>vote YES too.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-05-08 15:30:49 0000</bug_when>
            <thetext>s/A/B since it&apos;s under certain configurations only</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-05-19 22:58:27 0000</bug_when>
            <thetext>GLSA 200705-14</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kumba@gentoo.org</who>
            <bug_when>2007-11-20 05:30:27 0000</bug_when>
            <thetext>mips has 5.03 stable, per Bug #195253.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>117844</attachid>
            <date>2007-05-01 14:16 0000</date>
            <desc>xscreensaver-4.18-check-for-null-passwd-entry.patch</desc>
            <filename>xscreensaver-4.18-check-for-null-passwd-entry.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHhzY3JlZW5zYXZlci00LjE4L2RyaXZlci9sb2NrLmMuY2hlY2stZm9yLW51bGwtcGFzc3dk
LWVudHJ5CTIwMDctMDQtMTggMTY6MjU6MzMuMDAwMDAwMDAwIC0wNDAwCisrKyB4c2NyZWVuc2F2
ZXItNC4xOC9kcml2ZXIvbG9jay5jCTIwMDctMDQtMTggMTY6MjY6MDEuMDAwMDAwMDAwIC0wNDAw
CkBAIC0xMjg5LDcgKzEyODksNyBAQAogICAgICAgKi8KICAgICAgIHN0cnVjdCBwYXNzd2QgKnB3
ID0gZ2V0cHd1aWQgKGdldHVpZCAoKSk7CiAgICAgICBjaGFyICpkID0gRGlzcGxheVN0cmluZyAo
c2ktPmRweSk7Ci0gICAgICBjaGFyICp1ID0gKHB3LT5wd19uYW1lID8gcHctPnB3X25hbWUgOiAi
Pz8/Iik7CisgICAgICBjaGFyICp1ID0gKHB3ICYmIHB3LT5wd19uYW1lID8gcHctPnB3X25hbWUg
OiAiPz8/Iik7CiAgICAgICBpbnQgb3B0ID0gMDsKICAgICAgIGludCBmYWMgPSAwOwogCg==
</data>        

          </attachment>
    </bug>

</bugzilla>