<?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>196824</bug_id>
          
          <creation_ts>2007-10-23 18:45 0000</creation_ts>
          <short_desc>app-emulation/xen-tools Insecure temporary file creation in xenmon.py (CVE-2007-3919)</short_desc>
          <delta_ts>2007-10-24 11:04:49 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://xenbits.xensource.com/xen-unstable.hg?rev/b28ae5f00553</bug_file_loc>
          <status_whiteboard>~3 [noglsa]</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>
          <cc>falco@gentoo.org</cc>
    
    <cc>xen@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-10-23 18:45:06 0000</bug_when>
            <thetext>The xenbaked daemon and xenmon utility communicate via a mmap&apos;ed
 shared file. Since this file is located in /tmp, unprivileged users
 can cause arbitrary files to be truncated by creating a symlink from
 the well-known /tmp filename to e.g., /etc/passwd.
 
 The fix is to place the shared file in a directory to which only root
 should have access (in this case /var/run/).
 
 This bug was reported, and the fix suggested, by Steve Kemp
 &lt;skx@debian.org&gt;. Thanks!
 
 Signed-off-by: Keir Fraser &lt;keir@xensource.com&gt;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>marineam@gentoo.org</who>
            <bug_when>2007-10-23 19:11:46 0000</bug_when>
            <thetext>Now fixed in:
xen-tools-3.0.4_p1-r2
xen-tools-3.1.0-r2
xen-tools-3.1.1-r1

Cheers,</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-10-23 19:38:36 0000</bug_when>
            <thetext>Thx Michael for the quick response.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>swegener@gentoo.org</who>
            <bug_when>2007-10-24 11:04:49 0000</bug_when>
            <thetext>*** Bug 196898 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>