Debian: 'nis' Remote information leak
Posted by LinuxSecurity.com Team   
Debian A memory leak in allversions of ypserv prior to 2.5 is remotely exploitable. When amalicious user could request a non-existing map the server will leakparts of an old domainname and mapname.

--------------------------------------------------------------------------
Debian Security Advisory DSA 180-1                     security@debian.org 
http://www.debian.org/security/                             Martin Schulze
October 21st, 2002                       http://www.debian.org/security/faq
--------------------------------------------------------------------------

Package        : nis
Vulnerability  : information leak
Problem-Type   : remote
Debian-specific: no

Thorsten Kukuck discovered a problem in the ypserv program which is
part of the Network Information Services (NIS).  A memory leak in all
versions of ypserv prior to 2.5 is remotely exploitable.  When a
malicious user could request a non-existing map the server will leak
parts of an old domainname and mapname.

This problem has been fixed in version 3.9-6.1 for the current stable
distribution (woody), in version 3.8-2.1 for the old stable
distribution (potato) and in version 3.9-6.2 for the unstable
distribution (sid).

We recommend that you upgrade your nis package.

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 2.2 alias potato
---------------------------------
  Source archives:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.8-2.1.dsc
      Size/MD5 checksum:      549 0648773dc9405dfc7db374119fdfff29
     http://security.debian.org/pool/updates/main/n/nis/nis_3.8-2.1.diff.gz
      Size/MD5 checksum:    20525 0a95b9ded7ff489c1286063d6072d457
     http://security.debian.org/pool/updates/main/n/nis/nis_3.8.orig.tar.gz
      Size/MD5 checksum:   497044 69bd8aa6b24cb22266cdc04354d3e287

  Alpha architecture:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.8-2.1_alpha.deb
      Size/MD5 checksum:   243476 2e4e1daacb4d89b0447eaacd2ba524eb

  ARM architecture:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.8-2.1_arm.deb
      Size/MD5 checksum:   179622 68949d909772b5dd84a8b81090bd51bd

  Intel IA-32 architecture:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.8-2.1_i386.deb
      Size/MD5 checksum:   165064 bae6f9b96c61c2dea0f23acb96795e3a

  Motorola 680x0 architecture:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.8-2.1_m68k.deb
      Size/MD5 checksum:   158486 5601d33852631af0e5d742724cdc21fe

  PowerPC architecture:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.8-2.1_powerpc.deb
      Size/MD5 checksum:   169010 9ff45f7490b1832dea2a48ef4549c707

  Sun Sparc architecture:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.8-2.1_sparc.deb
      Size/MD5 checksum:   182990 07989d24beb219f9c5dc881b2e7439e2


Debian GNU/Linux 3.0 alias woody
--------------------------------

  Source archives:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.9-6.1.dsc
      Size/MD5 checksum:      583 39867a9d09bec5430a09c1a797af267c
     http://security.debian.org/pool/updates/main/n/nis/nis_3.9-6.1.diff.gz
      Size/MD5 checksum:    39172 5ffbfd98d5a2b795842800723c987e67
     http://security.debian.org/pool/updates/main/n/nis/nis_3.9.orig.tar.gz
      Size/MD5 checksum:   495695 b4d1c45619d8e3b20ef4b6032911a78c

  Alpha architecture:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.9-6.1_alpha.deb
      Size/MD5 checksum:   203838 c1d79fbf7a7bc9b95ae6ea3c0355ba0e

  ARM architecture:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.9-6.1_arm.deb
      Size/MD5 checksum:   165466 c73c0ea67dcf72d802164fadb52ed1f4

  Intel IA-32 architecture:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.9-6.1_i386.deb
      Size/MD5 checksum:   166214 e0b4d5496ea0063c2a2ab184d0ca8688

  Intel IA-64 architecture:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.9-6.1_ia64.deb
      Size/MD5 checksum:   236278 2573ec9f729f55634392d80c7ca7fdcf

  HP Precision architecture:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.9-6.1_hppa.deb
      Size/MD5 checksum:   182482 b23d0bb92aee63825c186068c6971c17

  Motorola 680x0 architecture:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.9-6.1_m68k.deb
      Size/MD5 checksum:   160114 70f5226204ebc3dadf9baacc3f7ea084

  Big endian MIPS architecture:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.9-6.1_mips.deb
      Size/MD5 checksum:   176766 27275782bbb48e3ea8f230d5b7a55974

  Little endian MIPS architecture:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.9-6.1_mipsel.deb
      Size/MD5 checksum:   176782 d1b102f9a84b0213c89a8d0f7e63bf60

  PowerPC architecture:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.9-6.1_powerpc.deb
      Size/MD5 checksum:   168290 9f615b8886db258eba3d62c2462095de

  IBM S/390 architecture:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.9-6.1_s390.deb
      Size/MD5 checksum:   166598 32c8445c48db60c7e86cf102b27189f2

  Sun Sparc architecture:

     http://security.debian.org/pool/updates/main/n/nis/nis_3.9-6.1_sparc.deb
      Size/MD5 checksum:   179352 8b38cd4b37a31316457312c7fac6b1ce


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

---------------------------------------------------------------------------------
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 ' and  http://packages.debian.org/