=====================================================================
                                  CERT-Renater

                       Note d'Information No. 2005/VULN033
_____________________________________________________________________

DATE                      : 14/01/2005

HARDWARE PLATFORM(S)      : /

OPERATING SYSTEM(S)       : Systems running gopher.

======================================================================

- --------------------------------------------------------------------------
Debian Security Advisory DSA 638-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
January 13th, 2005                      http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : gopher
Vulnerability  : several
Problem-Type   : remote
Debian-specific: no
CVE ID         : CAN-2004-0560 CAN-2004-0561

"jaguar" has discovered two security relevant problems in gopherd, the
Gopher server in Debian which is part of the gopher package.  The
Common Vulnerabilities and Exposures project identifies the following
vulnerabilities:

CAN-2004-0560

     An integer overflow can happen when posting content of a specially
     calculated size.

CAN-2004-0561

     A format string vulnerability has been found in the log routine.

For the stable distribution (woody) these problems have been fixed in
version 3.0.3woody2.

The unstable distribution (sid) does not contain a gopherd package.
It has been replaced by Pygopherd.

We recommend that you upgrade your gopherd 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:

     http://security.debian.org/pool/updates/main/g/gopher/gopher_3.0.3woody2.dsc
       Size/MD5 checksum:      552 8ca5e42b27ee90a38e94bf9a6970c66c
     http://security.debian.org/pool/updates/main/g/gopher/gopher_3.0.3woody2.tar.gz
       Size/MD5 checksum:   508697 f6c925530ffbf8bf5cfcab97f04f9d1f

   Alpha architecture:

     http://security.debian.org/pool/updates/main/g/gopher/gopher_3.0.3woody2_alpha.deb
       Size/MD5 checksum:   151380 cc2a882cde9216d6a23f7cd6c9f90623
     http://security.debian.org/pool/updates/main/g/gopher/gopherd_3.0.3woody2_alpha.deb
       Size/MD5 checksum:   120180 d0b221cf1f583be4b051f0a8e82a11c3

   ARM architecture:

     http://security.debian.org/pool/updates/main/g/gopher/gopher_3.0.3woody2_arm.deb
       Size/MD5 checksum:   114646 a27be2be4a1572fba35d959f01023888
     http://security.debian.org/pool/updates/main/g/gopher/gopherd_3.0.3woody2_arm.deb
       Size/MD5 checksum:    98678 9313f132ea75b7dd6a855cd43c1e3c9f

   Intel IA-32 architecture:

     http://security.debian.org/pool/updates/main/g/gopher/gopher_3.0.3woody2_i386.deb
       Size/MD5 checksum:   112528 e687f76519118d0ea5b3c6cb579db286
     http://security.debian.org/pool/updates/main/g/gopher/gopherd_3.0.3woody2_i386.deb
       Size/MD5 checksum:    96886 2c0b651d2d00bd8c805c319ad8c33866

   Intel IA-64 architecture:

     http://security.debian.org/pool/updates/main/g/gopher/gopher_3.0.3woody2_ia64.deb
       Size/MD5 checksum:   173718 2bf3e4b86029c74635a084c1eede9787
     http://security.debian.org/pool/updates/main/g/gopher/gopherd_3.0.3woody2_ia64.deb
       Size/MD5 checksum:   139836 2b9440218cb621c60dad5495e0820301

   HP Precision architecture:

     http://security.debian.org/pool/updates/main/g/gopher/gopher_3.0.3woody2_hppa.deb
       Size/MD5 checksum:   129848 be292cc2310c1acb7d68e5209009c7bd
     http://security.debian.org/pool/updates/main/g/gopher/gopherd_3.0.3woody2_hppa.deb
       Size/MD5 checksum:   109810 081dbee8c04697ff7102060a03fed127

   Motorola 680x0 architecture:

     http://security.debian.org/pool/updates/main/g/gopher/gopher_3.0.3woody2_m68k.deb
       Size/MD5 checksum:   105758 3e4a75b833f9c0ef1c205997c1034019
     http://security.debian.org/pool/updates/main/g/gopher/gopherd_3.0.3woody2_m68k.deb
       Size/MD5 checksum:    91926 703284910206b8b5cb191e946d27dd12

   Big endian MIPS architecture:

     http://security.debian.org/pool/updates/main/g/gopher/gopher_3.0.3woody2_mips.deb
       Size/MD5 checksum:   130832 8593601cee3ac10b726b8a5fda187594
     http://security.debian.org/pool/updates/main/g/gopher/gopherd_3.0.3woody2_mips.deb
       Size/MD5 checksum:   109556 51cc6daa4ed07de0d48da154af788a59

   Little endian MIPS architecture:

     http://security.debian.org/pool/updates/main/g/gopher/gopher_3.0.3woody2_mipsel.deb
       Size/MD5 checksum:   130846 c12d42a4030b8f48f0c10d52c8a9a4e3
     http://security.debian.org/pool/updates/main/g/gopher/gopherd_3.0.3woody2_mipsel.deb
       Size/MD5 checksum:   109464 8a53bdb7a6884680eefc6513fdaa47ff

   PowerPC architecture:

     http://security.debian.org/pool/updates/main/g/gopher/gopher_3.0.3woody2_powerpc.deb
       Size/MD5 checksum:   121114 5a4a7d7816b5a07fad0f332f586779db
     http://security.debian.org/pool/updates/main/g/gopher/gopherd_3.0.3woody2_powerpc.deb
       Size/MD5 checksum:   102828 ce470ddb1885a029489353bbab62703d

   IBM S/390 architecture:

     http://security.debian.org/pool/updates/main/g/gopher/gopher_3.0.3woody2_s390.deb
       Size/MD5 checksum:   116304 1b87e909f94aa8c1123b41c126fb7d3f
     http://security.debian.org/pool/updates/main/g/gopher/gopherd_3.0.3woody2_s390.deb
       Size/MD5 checksum:    99904 213c3b6ece4d0db0c23ac17548626677

   Sun Sparc architecture:

     http://security.debian.org/pool/updates/main/g/gopher/gopher_3.0.3woody2_sparc.deb
       Size/MD5 checksum:   121968 06b5d848a5abf676485b7012b84f5dce
     http://security.debian.org/pool/updates/main/g/gopher/gopherd_3.0.3woody2_sparc.deb
       Size/MD5 checksum:   102190 2243fe4cde92498111781de8ea7af932


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

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>

======================================================================

         =========================================================
         Les serveurs de référence du CERT-Renater
         http://www.urec.fr/securite
         http://www.cru.fr/securite
         http://www.renater.fr
         =========================================================
         + CERT-RENATER          | tel : 01-53-94-20-44          +
         + 151 bd de l'Hopital   | fax : 01-53-94-20-41          +
         + 75013 Paris           | email: certsvp@renater.fr     +
         =========================================================








