Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

More on LinuxToday


Red Hat Linux Advisory: ypserv

Oct 24, 2002, 20:26 (0 Talkback[s])

---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated ypserv packages fixes memory leak
Advisory ID:       RHSA-2002:223-07
Issue date:        2002-10-08
Updated on:        2002-10-24
Product:           Red Hat Linux
Keywords:          ypserv memory leak
Cross references:  
Obsoletes:         
CVE Names:         CAN-2002-1232
---------------------------------------------------------------------

1. Topic:

Updated ypserv packages which fix a memory leak are now available for Red
Hat Linux 7.x and 6.2.

2. Relevant releases/architectures:

Red Hat Linux 6.2 - alpha, i386, sparc
Red Hat Linux 7.0 - alpha, i386
Red Hat Linux 7.1 - alpha, i386, ia64
Red Hat Linux 7.2 - i386, ia64
Red Hat Linux 7.3 - i386

3. Problem description:

ypserv is an NIS authentication server. ypserv versions before 2.5 contain
a memory leak that can be triggered remotely.

When someone requests a map that doesn't exist, a previous mapname may be
leaked. This happens, for instance, if you run "ypmatch foo
aaaaaaaaaaaaaaaaaaaa". Repeated runs will result in the yp server using
more and more memory, and running more slowly.  It could also result in
ypserv being killed due to the system being out of memory.

This errata updates Red Hat Linux 7.x to ypserv version 2.5 which doesn't
have the memory leak, and updates Red Hat Linux 6.x to a patched version of
ypserv that doesn't have the memory leak.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory only contains the
desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. RPMs required:

Red Hat Linux 6.2:

SRPMS:
ftp://updates.redhat.com/6.2/en/os/SRPMS/ypserv-1.3.9-3.6x.src.rpm

alpha:
ftp://updates.redhat.com/6.2/en/os/alpha/ypserv-1.3.9-3.6x.alpha.rpm

i386:
ftp://updates.redhat.com/6.2/en/os/i386/ypserv-1.3.9-3.6x.i386.rpm

sparc:
ftp://updates.redhat.com/6.2/en/os/sparc/ypserv-1.3.9-3.6x.sparc.rpm

Red Hat Linux 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/ypserv-2.5-2.7x.src.rpm

alpha:
ftp://updates.redhat.com/7.0/en/os/alpha/ypserv-2.5-2.7x.alpha.rpm

i386:
ftp://updates.redhat.com/7.0/en/os/i386/ypserv-2.5-2.7x.i386.rpm

Red Hat Linux 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/ypserv-2.5-2.7x.src.rpm

alpha:
ftp://updates.redhat.com/7.1/en/os/alpha/ypserv-2.5-2.7x.alpha.rpm

i386:
ftp://updates.redhat.com/7.1/en/os/i386/ypserv-2.5-2.7x.i386.rpm

ia64:
ftp://updates.redhat.com/7.1/en/os/ia64/ypserv-2.5-2.7x.ia64.rpm

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/ypserv-2.5-2.7x.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/ypserv-2.5-2.7x.i386.rpm

ia64:
ftp://updates.redhat.com/7.2/en/os/ia64/ypserv-2.5-2.7x.ia64.rpm

Red Hat Linux 7.3:

SRPMS:
ftp://updates.redhat.com/7.3/en/os/SRPMS/ypserv-2.5-2.7x.src.rpm

i386:
ftp://updates.redhat.com/7.3/en/os/i386/ypserv-2.5-2.7x.i386.rpm



6. Verification:

MD5 sum                          Package Name
--------------------------------------------------------------------------
ccd7373767c66d1f33969376283bdaf3 6.2/en/os/SRPMS/ypserv-1.3.9-3.6x.src.rpm
0a206ef1852e6925001b1162af18f592 6.2/en/os/alpha/ypserv-1.3.9-3.6x.alpha.rpm
d63f8bbf7e3ac74069cb6e69545b5311 6.2/en/os/i386/ypserv-1.3.9-3.6x.i386.rpm
295c8ced6b5b2cb9f33564d9405922c6 6.2/en/os/sparc/ypserv-1.3.9-3.6x.sparc.rpm
37be9d1ee5505ff395d5a521cacedc83 7.0/en/os/SRPMS/ypserv-2.5-2.7x.src.rpm
6aa1e1c525e6dcc3739e95a7cea3f18c 7.0/en/os/alpha/ypserv-2.5-2.7x.alpha.rpm
598182855e18bcfe501bffdefacc26bf 7.0/en/os/i386/ypserv-2.5-2.7x.i386.rpm
37be9d1ee5505ff395d5a521cacedc83 7.1/en/os/SRPMS/ypserv-2.5-2.7x.src.rpm
6aa1e1c525e6dcc3739e95a7cea3f18c 7.1/en/os/alpha/ypserv-2.5-2.7x.alpha.rpm
598182855e18bcfe501bffdefacc26bf 7.1/en/os/i386/ypserv-2.5-2.7x.i386.rpm
0f4ff96fb026fb33d96c7c9030dcf037 7.1/en/os/ia64/ypserv-2.5-2.7x.ia64.rpm
37be9d1ee5505ff395d5a521cacedc83 7.2/en/os/SRPMS/ypserv-2.5-2.7x.src.rpm
598182855e18bcfe501bffdefacc26bf 7.2/en/os/i386/ypserv-2.5-2.7x.i386.rpm
0f4ff96fb026fb33d96c7c9030dcf037 7.2/en/os/ia64/ypserv-2.5-2.7x.ia64.rpm
37be9d1ee5505ff395d5a521cacedc83 7.3/en/os/SRPMS/ypserv-2.5-2.7x.src.rpm
598182855e18bcfe501bffdefacc26bf 7.3/en/os/i386/ypserv-2.5-2.7x.i386.rpm


These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
    http://www.redhat.com/about/contact/pgpkey.html

You can verify each package with the following command:
    
    rpm --checksig -v <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    
    md5sum <filename>


7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1232


Copyright(c) 2000, 2001, 2002 Red Hat, Inc.