Your message dated Wed, 28 Jan 2009 13:32:05 +0000
with message-id <[email protected]>
and subject line Bug#506625: fixed in geda-gnetlist 1:1.4.0-3
has caused the Debian Bug report #506625,
regarding Security bug on temp file
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.)


-- 
506625: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506625
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package:  geda-gnetlist
Version: 1.4.0-2
Tags: patch
Severity: critical

Here a a security patch from fedora (
http://cvs.fedoraproject.org/viewvc//devel/geda-gnetlist/geda-gnetlist-CVE-mktemp.patch?view=markup):

--- scripts/sch2eaglepos.sh     2008-05-16 06:20:10.000000000 +0200
+++ scripts/sch2eaglepos.sh_cht 2008-11-18 21:49:04.000000000 +0100
@@ -2,6 +2,12 @@
 # By Braddock Gaskill ([email protected]), August 2004.  This
 # software is hereby declared to be in the public domain by Braddock
 # Gaskill, the author.
+
+# Updated by Chitlesh GOORAH - reason : Security bug on temporary
file (18Nov2008)
+#  The issue is that the value of TMP is predictable
+#  and a local evildoer could create a symlink causing some data to
be overwritten.
+#
+
 FNAME="$1"
 if [ -z "$FNAME" ]; then
     echo "$0 <inputfile.sch>"
@@ -20,8 +26,8 @@
 XSCALE=9000
 YSCALE=9000

-TMP=/tmp/$$
-grep -B1 refdes= "$FNAME" |sed 's/=/ /' | cut -d" " -f2,3 |grep -v
'^--' >/tmp/$$
+TMP=`mktemp`
+grep -B1 refdes= "$FNAME" |sed 's/=/ /' | cut -d" " -f2,3 |grep -v '^--' > $TMP

 3<$TMP
 while read -u 3; do



--- End Message ---
--- Begin Message ---
Source: geda-gnetlist
Source-Version: 1:1.4.0-3

We believe that the bug you reported is fixed in the latest version of
geda-gnetlist, which is due to be installed in the Debian FTP archive:

geda-gnetlist_1.4.0-3.diff.gz
  to pool/main/g/geda-gnetlist/geda-gnetlist_1.4.0-3.diff.gz
geda-gnetlist_1.4.0-3.dsc
  to pool/main/g/geda-gnetlist/geda-gnetlist_1.4.0-3.dsc
geda-gnetlist_1.4.0-3_amd64.deb
  to pool/main/g/geda-gnetlist/geda-gnetlist_1.4.0-3_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hamish Moffatt <[email protected]> (supplier of updated geda-gnetlist package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 29 Jan 2009 00:18:18 +1100
Source: geda-gnetlist
Binary: geda-gnetlist
Architecture: source amd64
Version: 1:1.4.0-3
Distribution: unstable
Urgency: low
Maintainer: Debian Electronics Team 
<[email protected]>
Changed-By: Hamish Moffatt <[email protected]>
Description: 
 geda-gnetlist - GPL EDA -- Electronics design software -- netlister
Closes: 506625 510995
Changes: 
 geda-gnetlist (1:1.4.0-3) unstable; urgency=low
 .
   * Update debian/copyright to follow standard template
     * all of gEDA uses GPLv2 (closes: #510995)
   * Fix insecure temp file handling in example script (closes: #506625)
Checksums-Sha1: 
 aa9d72ce97bb03c13dd15731910ed3dabdce0668 1180 geda-gnetlist_1.4.0-3.dsc
 04fb419bd61871129989faa019b11c3974b89f93 4232 geda-gnetlist_1.4.0-3.diff.gz
 20d8ec4e70ef6e15c6eb3995aeae1c34b4925558 178094 geda-gnetlist_1.4.0-3_amd64.deb
Checksums-Sha256: 
 86ddd813e447048c3b257a0614b8f81a8a3c6c480f1b816c8ef768b26e9f3cb8 1180 
geda-gnetlist_1.4.0-3.dsc
 0e3fa1ebf7cd4fe81cde7e6368e4d4f0a09b3b741a2d4954f63e8cdd604ad828 4232 
geda-gnetlist_1.4.0-3.diff.gz
 1bab4f98e9ec4009d9b551d5b6f847784b093bd10435673dbeeb1a5e9a34944f 178094 
geda-gnetlist_1.4.0-3_amd64.deb
Files: 
 26502193c898d50122af436a56104281 1180 electronics optional 
geda-gnetlist_1.4.0-3.dsc
 c3303ceb0d56df9fbf4e76a53a991da6 4232 electronics optional 
geda-gnetlist_1.4.0-3.diff.gz
 96c18be9e2389f8dd0b3e24bf7e6a280 178094 electronics optional 
geda-gnetlist_1.4.0-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmAW2IACgkQ30WoBV0H6Vy4iwCcCylZzMawze80jYYQLFN53+7M
kAIAoIagcOhL4Qx5/5CQxzTWsHei0y1a
=mnaa
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to