Linux Today: Linux News On Internet Time.

Debian Security Advisory: multiple stunnel vulnerabilities

Dec 25, 2000, 03:05 (0 Talkback[s])
(Other stories by Wichert Akkerman)

Date: Mon, 25 Dec 2000 03:21:57 +0100
From: Wichert Akkerman wichert@cistron.nl
To: debian-security-announce@lists.debian.org
Subject: [SECURITY] [DSA-009-1] multiple stunnel vulnerabilities

Debian Security Advisory DSA-009-1                                      security@debian.org
http://www.debian.org/security/                                   Wichert Akkerman 
December 25, 2000

Package        : stunnel
Problem type   : insecure file handling, format string bug
Debian-specific: no

Lez discovered a format string problem in stunnel (a tool to create
Universal SSL tunnel for other network daemons). Brian Hatch
responded by stating he was already preparing a new release with
multiple security fixes:

1. the PRNG (pseudo-random generated) was not seeded correctly.
   This only affects operation on operating systems without a
   secure random generator (like Linux)
2. Pid files were not created securely, making stunnel vulnerable
   to a symlink attack
3. There was an insecure syslog() call which could be exploited if
   the user could manage to insert text into the logged text. At
   least one way to exploit this using faked identd responses was
   demonstrated by Lez.

These problems have been fixed in version 3.10-0potato1.

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.
Debian GNU/Linux 2.2 alias potato

Potato was released for alpha, arm, i386, m68k, powerpc and sparc. At this moment no fix is available for arm, Once a fix for that architecture will become available it will be announced on

Source archives:
http://security.debian.org/dists/stable/updates/main/source/stunnel_3.10-0potato1.diff.gz MD5 checksum: 60d5aa858f0a06c2d419da3cf082edfd
http://security.debian.org/dists/stable/updates/main/source/stunnel_3.10-0potato1.dsc MD5 checksum: 0cc18707e34df76f50ca1f8d3c4faeaa
http://security.debian.org/dists/stable/updates/main/source/stunnel_3.10.orig.tar.gz MD5 checksum: eca047987da225a6e4e7bd705a81f2aa

Alpha architecture:
http://security.debian.org/dists/stable/updates/main/binary-alpha/stunnel_3.10-0potato1_alpha.deb MD5 checksum: 832ad31f899dbc655b1796b56cb98c80

Intel ia32 architecture:
http://security.debian.org/dists/stable/updates/main/binary-i386/stunnel_3.10-0potato1_i386.deb MD5 checksum: b64009319600749c58c60d39874db79d

Motorola 680x0 architecture:
http://security.debian.org/dists/stable/updates/main/binary-m68k/stunnel_3.10-0potato1_m68k.deb MD5 checksum: 89c199d09858d14c9563522f4f6fba67

PowerPC architecture:
http://security.debian.org/dists/stable/updates/main/binary-powerpc/stunnel_3.10-0potato1_powerpc.deb MD5 checksum: cd145736ba23c54f98a41afe7bb5469f

Sun Sparc architecture:
http://security.debian.org/dists/stable/updates/main/binary-sparc/stunnel_3.10-0potato1_sparc.deb MD5 checksum: 12d12072d96e1ddc6caa50cbc179619f

These files will be moved into
ftp://ftp.debian.org/debian/dists/stable/*/binary-$arch/ soon.

For not yet released architectures please refer to the appropriate directory ftp://ftp.debian.org/debian/dists/sid/binary-$arch/ .

apt-get: deb http://security.debian.org/ stable/updates main
dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org