Your message dated Wed, 13 Aug 2008 11:40:44 +0200
with message-id <[EMAIL PROTECTED]>
and subject line fixed in upstream version
has caused the Debian Bug report #445308,
regarding Multiple symlink vulnerabilities
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
445308: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=445308
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: guilt
Version: 0.27-1
Severity: critical
Tags: security

guilt makes extensive use of the '$$' shell variable for temporary
files in /tmp.  This is a serious security vulnerability; on multi-user
systems it allows an attacker to clobber files with something like the 
following:

  for i in `seq 1 32768`; do 
    ln -sf /etc/passwd /tmp/guilt.log.$i;
  done

(In this example, if root does e.g. 'guilt push', /etc/passwd will get
clobbered.)

Please use mktemp(1) to create temporary files.

For reference:

guilt-0.27$ grep '$$' *
guilt:                          $reject "$p" > /dev/null 2> /tmp/guilt.log.$$
guilt:                                  rm -f /tmp/guilt.log.$$ /tmp/guilt.msg.\
$$
guilt:          do_get_header "$p" > /tmp/guilt.msg.$$
guilt:          [ ! -s /tmp/guilt.msg.$$ ] && echo "patch $pname" > /tmp/guilt.\
msg.$$
guilt:  rm -f /tmp/guilt.msg.$$ /tmp/guilt.log.$$
guilt:          do_get_full_header "$p" > /tmp/guilt.diff.$$
guilt:                  ) >> /tmp/guilt.diff.$$
guilt:          git-diff $diffopts "$2" >> /tmp/guilt.diff.$$
guilt-header:   do_get_full_header "$GUILT_DIR/$branch/$patch" > /tmp/guilt.msg\
.$$
guilt-header:   do_get_patch "$GUILT_DIR/$branch/$patch" > /tmp/guilt.diff.$$
guilt-header:           cat /tmp/guilt.msg.$$
guilt-header:           cat /tmp/guilt.diff.$$
guilt-0.27$

Thanks,

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages guilt depends on:
ii  git-core                     1:1.5.3.3-1 fast, scalable, distributed revisi

guilt recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 0.28-1

This bug has been fixed by Nico in an NMU, but that NMU was not acknowledged. 
However, upstream has fixed the issue in their upstream version 0.28, so I'm 
closing the bug.


Thijs

Attachment: pgpzN9BhzHwYH.pgp
Description: PGP signature


--- End Message ---

Reply via email to