Debian: openssl insecure temporary file creation fix
Posted by Joe Shakespeare   
Debian Trustix developers discovered insecure temporary file creation in a supplemental script (der_chop) of the openssl package which may allow local users to overwrite files via a symlink attack.

Debian Security Advisory DSA 603-1                                        Martin Schulze
December 1st, 2004            

Package        : openssl
Vulnerability  : insecure temporary file
Problem-Type   : local/remote
Debian-specific: no
CVE ID         : CAN-2004-0975

Trustix developers discovered insecure temporary file creation in a
supplemental script (der_chop) of the openssl package which may allow
local users to overwrite files via a symlink attack.

For the stable distribution (woody) this problem has been fixed in
version 0.9.6c-2.woody.7.

For the unstable distribution (sid) this problem has been fixed in
version 0.9.7e-1.

We recommend that you upgrade your openssl package.

Upgrade Instructions

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.

Debian GNU/Linux 3.0 alias woody

  Source archives:
      Size/MD5 checksum:      632 602dbc2dbc2ca2030c00f2fe4974b2ff
      Size/MD5 checksum:    45284 9099375084f05be1f16e29426e206c6c
      Size/MD5 checksum:  2153980 c8261d93317635d56df55650c6aeb3dc

  Architecture independent components:
      Size/MD5 checksum:      984 a582c62beb11f42b194720a4aca778fb

  Alpha architecture:
      Size/MD5 checksum:  1551570 e292eefea2c0377a724c568798674ad8
      Size/MD5 checksum:   571464 95cad9ee036e17185570d296e20d9080
      Size/MD5 checksum:   736594 96b53586706663281cfe5dfba0e79274

  ARM architecture:
      Size/MD5 checksum:  1358204 7906fdccc0e785b27a792cb58ad8d974
      Size/MD5 checksum:   474270 95c0d657bf8dc54347a721cc159839b3
      Size/MD5 checksum:   729984 13a17525bb5ee02f710e576627cdaa29

  Intel IA-32 architecture:
      Size/MD5 checksum:  1290528 54b46bf19ba1543a2e10f02a27e81860
      Size/MD5 checksum:   461966 b5380c072591fc7601d1675983ac2c58
      Size/MD5 checksum:   723366 32dd684d4d6e4d77882cbfd5e26e5a16

  Intel IA-64 architecture:
      Size/MD5 checksum:  1615432 f6d3a4ad7c86c560ba3bf1cf457fc4f3
      Size/MD5 checksum:   711282 6923b5f064948242ce97758b3d870654
      Size/MD5 checksum:   763686 4395eaf2e524871f9964d0e06fb11342

  HP Precision architecture:
      Size/MD5 checksum:  1435266 bd54f26da83b155d9d7277880cb41524
      Size/MD5 checksum:   565130 a8aa7b3edddf38069acb76132f8f5339
      Size/MD5 checksum:   742112 1602fe86f48babafc1b9cfde5a0566de

  Motorola 680x0 architecture:
      Size/MD5 checksum:  1266658 9542b5977cf79e3b5c720b7de1c9978b
      Size/MD5 checksum:   450852 f25d15907a2a8967772065c9ee2190b9
      Size/MD5 checksum:   720638 0e1eadb4432cbfec7305ae1719eea4d5

  Big endian MIPS architecture:
      Size/MD5 checksum:  1416416 e4b572714439992513818d5d184d4e37
      Size/MD5 checksum:   483884 3b3d29ce161764d3f96747c4c519302a
      Size/MD5 checksum:   718050 664bc23cd63398861ba6d4742c8d1865

  Little endian MIPS architecture:
      Size/MD5 checksum:  1410908 227926332c25764953e7ba5561367208
      Size/MD5 checksum:   476920 e7c92808e7307dbf0e932df875b2b9d0
      Size/MD5 checksum:   717396 1e40242efebc9c17eb5518f727870b6a

  PowerPC architecture:
      Size/MD5 checksum:  1387080 791d8455a44c7525cddc9da128a4c952
      Size/MD5 checksum:   502688 fdaedc1290dd7a3e7f9f85f2d347407e
      Size/MD5 checksum:   726936 a162e3135ac2da498d997d0cad134334

  IBM S/390 architecture:
      Size/MD5 checksum:  1326728 0ebfdd2e503767ffcbe81a27e4c9fdcf
      Size/MD5 checksum:   510694 795765b236ba20e08a341d4790059915
      Size/MD5 checksum:   731846 286d0fd35b8f4644bf5fe832ea9e3a32

  Sun Sparc architecture:
      Size/MD5 checksum:  1344486 e6cb9a98d11088e67dc5e9c9e69914eb
      Size/MD5 checksum:   484982 81b108c09f20effa6bee11cf5cf9d76c
      Size/MD5 checksum:   737436 3404c0b661a45984755c53897b5e58cc

  These files will probably be moved into the stable distribution on
  its next update.

For apt-get: deb stable/updates main
For dpkg-ftp: dists/stable/updates/main
Mailing list:
Package info: `apt-cache show ' and