---------------------------------------------------------------------                   Red Hat Security Advisory

Synopsis:          Updated nfs-utils package fixes security vulnerabilities
Advisory ID:       RHSA-2004:583-01
Advisory URL:      https://access.redhat.com/errata/RHSA-2004:583.html
Issue date:        2004-12-20
Updated on:        2004-12-20
Product:           Red Hat Enterprise Linux
CVE Names:         CAN-2004-1014 CAN-2004-0946
---------------------------------------------------------------------1. Summary:

An updated nfs-utils package that fixes various security issues is now
available.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64

3. Problem description:

The nfs-utils package provides a daemon for the kernel NFS server and
related tools, providing a much higher level of performance than the
traditional Linux NFS server used by most users.

This package also contains the showmount program. Showmount queries
the mount daemon on a remote host for information about the NFS
(Network File System) server on the remote host.

SGI reported that the statd daemon did not properly handle the SIGPIPE
signal.  A misconfigured or malicious peer could cause statd to crash,
leading to a denial of service.  The Common Vulnerabilities and Exposures
project (cve.mitre.org) has assigned the name CAN-2004-1014 to this issue.

Arjan van de Ven discovered a buffer overflow in rquotad.  On 64-bit
architectures, an improper integer conversion can lead to a buffer
overflow.  An attacker with access to an NFS share could send a specially
crafted request which could lead to the execution of arbitrary code.  The
Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned
the name CAN-2004-0946 to this issue.

Additionally, this updated package addresses the following issues:

- The UID of the nfsnobody account has been fixed for 32-bit and 64-bit
machines. Because the st_uid field of the stat structure is an unsigned
integer, an actual value of -2 cannot be used when creating the account, so
the decimal value of -2 is used. On a 32-bit machine, the decimal value of
-2 is 65534 but on a 64-bit machine it is 4294967294. This errata enables
the nfs-utils post-install script to detect the target architecture, so an
appropriate decimal value is used.

All users of nfs-utils should upgrade to this updated package, which
resolves these issues.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.  Use Red Hat
Network to download and update your packages.  To launch the Red Hat
Update Agent, use the following command:

    up2date

For information on how to install packages manually, refer to the
following Web page for the System Administration or Customization
guide specific to your system:

    http://www.redhat.com/docs/manuals/enterprise/

5. Bug IDs fixed (http://bugzilla.redhat.com/):

123900 - LTC5609-Wrong uid/gid for anonuid in nfs mount
139611 - CAN-2004-1014 DoS in statd
138062 - CAN-2004-0946 buffer overflow in rquotad

6. RPMs required:

Red Hat Enterprise Linux AS version 3:

SRPMS:
3c07aefe1af032508a92e4189d9e2cd2  nfs-utils-1.0.6-33EL.src.rpm

i386:
e17d5bce62acddfa0de2b9b77b9b67db  nfs-utils-1.0.6-33EL.i386.rpm

ia64:
1fe59525701f2bb8c4e5f039a8e613d9  nfs-utils-1.0.6-33EL.ia64.rpm

ppc:
d88d00c954fb90e1d8f30c04ec714d8c  nfs-utils-1.0.6-33EL.ppc.rpm

s390:
a498b1aa5b7f6aa9a829d8cb23331c82  nfs-utils-1.0.6-33EL.s390.rpm

s390x:
15279ec8935e525ebac1b488f012597c  nfs-utils-1.0.6-33EL.s390x.rpm

x86_64:
6dcf9bd7e53e6780c37d8cc28fecdca5  nfs-utils-1.0.6-33EL.x86_64.rpm

Red Hat Desktop version 3:

SRPMS:
3c07aefe1af032508a92e4189d9e2cd2  nfs-utils-1.0.6-33EL.src.rpm

i386:
e17d5bce62acddfa0de2b9b77b9b67db  nfs-utils-1.0.6-33EL.i386.rpm

x86_64:
6dcf9bd7e53e6780c37d8cc28fecdca5  nfs-utils-1.0.6-33EL.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
3c07aefe1af032508a92e4189d9e2cd2  nfs-utils-1.0.6-33EL.src.rpm

i386:
e17d5bce62acddfa0de2b9b77b9b67db  nfs-utils-1.0.6-33EL.i386.rpm

ia64:
1fe59525701f2bb8c4e5f039a8e613d9  nfs-utils-1.0.6-33EL.ia64.rpm

x86_64:
6dcf9bd7e53e6780c37d8cc28fecdca5  nfs-utils-1.0.6-33EL.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
3c07aefe1af032508a92e4189d9e2cd2  nfs-utils-1.0.6-33EL.src.rpm

i386:
e17d5bce62acddfa0de2b9b77b9b67db  nfs-utils-1.0.6-33EL.i386.rpm

ia64:
1fe59525701f2bb8c4e5f039a8e613d9  nfs-utils-1.0.6-33EL.ia64.rpm

x86_64:
6dcf9bd7e53e6780c37d8cc28fecdca5  nfs-utils-1.0.6-33EL.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1014
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0946

8. Contact:

The Red Hat security contact is .  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2004 Red Hat, Inc.

Red Hat: nfs-utils security vulnerabilities fix

SGI reported that the statd daemon did not properly handle the SIGPIPE signal

Summary



Summary

The nfs-utils package provides a daemon for the kernel NFS server and related tools, providing a much higher level of performance than the traditional Linux NFS server used by most users. This package also contains the showmount program. Showmount queries the mount daemon on a remote host for information about the NFS (Network File System) server on the remote host. SGI reported that the statd daemon did not properly handle the SIGPIPE signal. A misconfigured or malicious peer could cause statd to crash, leading to a denial of service. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-1014 to this issue. Arjan van de Ven discovered a buffer overflow in rquotad. On 64-bit architectures, an improper integer conversion can lead to a buffer overflow. An attacker with access to an NFS share could send a specially crafted request which could lead to the execution of arbitrary code. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0946 to this issue. Additionally, this updated package addresses the following issues: - The UID of the nfsnobody account has been fixed for 32-bit and 64-bit machines. Because the st_uid field of the stat structure is an unsigned integer, an actual value of -2 cannot be used when creating the account, so the decimal value of -2 is used. On a 32-bit machine, the decimal value of -2 is 65534 but on a 64-bit machine it is 4294967294. This errata enables the nfs-utils post-install script to detect the target architecture, so an appropriate decimal value is used. All users of nfs-utils should upgrade to this updated package, which resolves these issues.


Solution

Before applying this update, make sure that all previously-released errata relevant to your system have been applied. Use Red Hat Network to download and update your packages. To launch the Red Hat Update Agent, use the following command:
up2date
For information on how to install packages manually, refer to the following Web page for the System Administration or Customization guide specific to your system:
http://www.redhat.com/docs/manuals/enterprise/
5. Bug IDs fixed (http://bugzilla.redhat.com/):
123900 - LTC5609-Wrong uid/gid for anonuid in nfs mount 139611 - CAN-2004-1014 DoS in statd 138062 - CAN-2004-0946 buffer overflow in rquotad
6. RPMs required:
Red Hat Enterprise Linux AS version 3:
SRPMS: 3c07aefe1af032508a92e4189d9e2cd2 nfs-utils-1.0.6-33EL.src.rpm
i386: e17d5bce62acddfa0de2b9b77b9b67db nfs-utils-1.0.6-33EL.i386.rpm
ia64: 1fe59525701f2bb8c4e5f039a8e613d9 nfs-utils-1.0.6-33EL.ia64.rpm
ppc: d88d00c954fb90e1d8f30c04ec714d8c nfs-utils-1.0.6-33EL.ppc.rpm
s390: a498b1aa5b7f6aa9a829d8cb23331c82 nfs-utils-1.0.6-33EL.s390.rpm
s390x: 15279ec8935e525ebac1b488f012597c nfs-utils-1.0.6-33EL.s390x.rpm
x86_64: 6dcf9bd7e53e6780c37d8cc28fecdca5 nfs-utils-1.0.6-33EL.x86_64.rpm
Red Hat Desktop version 3:
SRPMS: 3c07aefe1af032508a92e4189d9e2cd2 nfs-utils-1.0.6-33EL.src.rpm
i386: e17d5bce62acddfa0de2b9b77b9b67db nfs-utils-1.0.6-33EL.i386.rpm
x86_64: 6dcf9bd7e53e6780c37d8cc28fecdca5 nfs-utils-1.0.6-33EL.x86_64.rpm
Red Hat Enterprise Linux ES version 3:
SRPMS: 3c07aefe1af032508a92e4189d9e2cd2 nfs-utils-1.0.6-33EL.src.rpm
i386: e17d5bce62acddfa0de2b9b77b9b67db nfs-utils-1.0.6-33EL.i386.rpm
ia64: 1fe59525701f2bb8c4e5f039a8e613d9 nfs-utils-1.0.6-33EL.ia64.rpm
x86_64: 6dcf9bd7e53e6780c37d8cc28fecdca5 nfs-utils-1.0.6-33EL.x86_64.rpm
Red Hat Enterprise Linux WS version 3:
SRPMS: 3c07aefe1af032508a92e4189d9e2cd2 nfs-utils-1.0.6-33EL.src.rpm
i386: e17d5bce62acddfa0de2b9b77b9b67db nfs-utils-1.0.6-33EL.i386.rpm
ia64: 1fe59525701f2bb8c4e5f039a8e613d9 nfs-utils-1.0.6-33EL.ia64.rpm
x86_64: 6dcf9bd7e53e6780c37d8cc28fecdca5 nfs-utils-1.0.6-33EL.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://www.redhat.com/security/team/key/#package

References

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1014 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0946

Package List


Severity
Advisory ID: RHSA-2004:583-01
Advisory URL: https://access.redhat.com/errata/RHSA-2004:583.html
Issued Date: : 2004-12-20
Updated on: 2004-12-20
Product: Red Hat Enterprise Linux
CVE Names: CAN-2004-1014 CAN-2004-0946 An updated nfs-utils package that fixes various security issues is now available.

Topic


Topic


 

Relevant Releases Architectures

Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64

Red Hat Desktop version 3 - i386, x86_64

Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64

Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64


Bugs Fixed


Related News