---------------------------------------------------------------------
                   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: 
 

alpha: 
 

i386: 
 

sparc: 
 

Red Hat Linux 7.0:

SRPMS: 
 

alpha: 
 

i386: 
 

Red Hat Linux 7.1:

SRPMS: 
 

alpha: 
 

i386: 
 

ia64: 
 

Red Hat Linux 7.2:

SRPMS: 
 

i386: 
 

ia64: 
 

Red Hat Linux 7.3:

SRPMS: 
 

i386: 
 



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:
     About

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

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 


7. References:
 
CVE -CVE-2002-1232


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


RedHat: ypserv memory leak

When someone requests a map that doesn't exist, a previous mapname may be leaked

Summary



Summary

ypserv is an NIS authentication server. ypserv versions before 2.5 containa memory leak that can be triggered remotely.When someone requests a map that doesn't exist, a previous mapname may beleaked. This happens, for instance, if you run "ypmatch fooaaaaaaaaaaaaaaaaaaaa". Repeated runs will result in the yp server usingmore and more memory, and running more slowly. It could also result inypserv 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'thave the memory leak, and updates Red Hat Linux 6.x to a patched version ofypserv that doesn't have the memory leak.


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:

alpha:

i386:

sparc:

Red Hat Linux 7.0:
SRPMS:

alpha:

i386:

Red Hat Linux 7.1:
SRPMS:

alpha:

i386:

ia64:

Red Hat Linux 7.2:
SRPMS:

i386:

ia64:

Red Hat Linux 7.3:
SRPMS:

i386:



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: About
You can verify each package with the following command:
rpm --checksig -v
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

References

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

Package List


Severity
Advisory ID: RHSA-2002:223-07
Issued 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

Topic


Topic

Updated ypserv packages which fix a memory leak are now available for Red

Hat Linux 7.x and 6.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


Bugs Fixed


Related News