1. /
  2. Security Response/
  3. Sun XDR Library xdrmem_getbytes() Integer Overflow Vulnerability

Sun XDR Library xdrmem_getbytes() Integer Overflow Vulnerability

Risk

High

Date Discovered

March 17, 2003

Description

A vulnerability has been discovered in the Sun XDR library. Specifically, an integer overflow as been found in the xdrmem_getbytes() function. As a result, applications implementing the vulnerable library call may be prone to denial of service attacks. It should be noted that the vulnerable library code has been implemented by various libraries including BSD's libc, Glibc, and Sun Microsystem's libnsl.

Technologies Affected

  • Apple Mac OS X 10.0.0
  • Apple Mac OS X 10.0.1
  • Apple Mac OS X 10.0.2
  • Apple Mac OS X 10.0.3
  • Apple Mac OS X 10.0.4
  • Apple Mac OS X 10.1.0
  • Apple Mac OS X 10.1.1
  • Apple Mac OS X 10.1.2
  • Apple Mac OS X 10.1.3
  • Apple Mac OS X 10.1.4
  • Apple Mac OS X 10.1.5
  • Apple Mac OS X 10.2.0
  • Apple Mac OS X 10.2.1
  • Apple Mac OS X 10.2.2
  • Apple Mac OS X 10.2.3
  • Apple Mac OS X 10.2.4
  • Caldera OpenLinux Server 3.1.0
  • Caldera OpenLinux Server 3.1.1
  • Caldera OpenLinux Workstation 3.1.0
  • Caldera OpenLinux Workstation 3.1.1
  • Cray UNICOS 6.0.0
  • Cray UNICOS 6.0.0 E
  • Cray UNICOS 6.1.0
  • Cray UNICOS 7.0.0
  • Cray UNICOS 8.0.0
  • Cray UNICOS 8.3.0
  • Cray UNICOS 9.0.0
  • Cray UNICOS 9.0.2 .5
  • Cray UNICOS 9.2.0
  • Cray UNICOS 9.2.0 .4
  • FreeBSD FreeBSD 4.0.0
  • FreeBSD FreeBSD 4.1.0
  • FreeBSD FreeBSD 4.1.1
  • FreeBSD FreeBSD 4.1.1 -RELEASE
  • FreeBSD FreeBSD 4.1.1 -STABLE
  • FreeBSD FreeBSD 4.2.0
  • FreeBSD FreeBSD 4.2.0 -RELEASE
  • FreeBSD FreeBSD 4.2.0 -STABLE
  • FreeBSD FreeBSD 4.3.0
  • FreeBSD FreeBSD 4.3.0 -RELEASE
  • FreeBSD FreeBSD 4.3.0 -STABLE
  • FreeBSD FreeBSD 4.4.0
  • FreeBSD FreeBSD 4.4.0 -STABLE
  • FreeBSD FreeBSD 4.5.0
  • FreeBSD FreeBSD 4.5.0 -RELEASE
  • FreeBSD FreeBSD 4.5.0 -STABLE
  • FreeBSD FreeBSD 4.6.0
  • FreeBSD FreeBSD 4.6.0 -RELEASE
  • FreeBSD FreeBSD 4.6.0 -STABLE
  • FreeBSD FreeBSD 4.6.2
  • FreeBSD FreeBSD 4.7.0
  • FreeBSD FreeBSD 4.7.0 -RELEASE
  • FreeBSD FreeBSD 4.7.0 -STABLE
  • FreeBSD FreeBSD 5.0.0
  • GNU glibc 2.1.0
  • GNU glibc 2.1.1
  • GNU glibc 2.1.2
  • GNU glibc 2.1.3
  • GNU glibc 2.2.0
  • GNU glibc 2.2.1
  • GNU glibc 2.2.2
  • GNU glibc 2.2.3
  • GNU glibc 2.2.4
  • GNU glibc 2.2.5
  • GNU glibc 2.3.0
  • GNU glibc 2.3.1
  • GNU glibc 2.3.2
  • HP HP-UX 10.20.0
  • HP HP-UX 10.20.0 Series 700
  • HP HP-UX 10.20.0 Series 800
  • HP HP-UX 10.24.0
  • HP HP-UX 11.0.0
  • HP HP-UX 11.0.0 4
  • HP HP-UX 11.11.0
  • HP HP-UX 11.20.0
  • HP HP-UX 11.22.0
  • IBM AIX 4.3.3
  • IBM AIX 5.1
  • IBM AIX 5.2
  • MIT Kerberos 5 1.1.1
  • MIT Kerberos 5 1.2.0
  • MIT Kerberos 5 1.2.1
  • MIT Kerberos 5 1.2.2
  • MIT Kerberos 5 1.2.3
  • MIT Kerberos 5 1.2.4
  • MIT Kerberos 5 1.2.5
  • MIT Kerberos 5 1.2.6
  • MIT Kerberos 5 1.2.7
  • NetBSD NetBSD 1.4.0
  • NetBSD NetBSD 1.4.1
  • NetBSD NetBSD 1.4.2
  • NetBSD NetBSD 1.4.3
  • NetBSD NetBSD 1.5.0
  • NetBSD NetBSD 1.5.1
  • NetBSD NetBSD 1.5.2
  • NetBSD NetBSD 1.5.3
  • NetBSD NetBSD 1.6.0
  • OpenAFS OpenAFS 1.0.0
  • OpenAFS OpenAFS 1.0.1
  • OpenAFS OpenAFS 1.0.2
  • OpenAFS OpenAFS 1.0.3
  • OpenAFS OpenAFS 1.0.4
  • OpenAFS OpenAFS 1.0.4 a
  • OpenAFS OpenAFS 1.1.0
  • OpenAFS OpenAFS 1.1.1
  • OpenAFS OpenAFS 1.1.1 a
  • OpenAFS OpenAFS 1.2.0
  • OpenAFS OpenAFS 1.2.1
  • OpenAFS OpenAFS 1.2.2
  • OpenAFS OpenAFS 1.2.2 a
  • OpenAFS OpenAFS 1.2.2 b
  • OpenAFS OpenAFS 1.2.3
  • OpenAFS OpenAFS 1.2.4
  • OpenAFS OpenAFS 1.2.5
  • OpenAFS OpenAFS 1.2.6
  • OpenAFS OpenAFS 1.3.0
  • OpenAFS OpenAFS 1.3.1
  • OpenAFS OpenAFS 1.3.2
  • OpenBSD OpenBSD 2.0.0
  • OpenBSD OpenBSD 2.1.0
  • OpenBSD OpenBSD 2.2.0
  • OpenBSD OpenBSD 2.3.0
  • OpenBSD OpenBSD 2.4.0
  • OpenBSD OpenBSD 2.5.0
  • OpenBSD OpenBSD 2.6.0
  • OpenBSD OpenBSD 2.7.0
  • OpenBSD OpenBSD 2.8.0
  • OpenBSD OpenBSD 2.9.0
  • OpenBSD OpenBSD 3.0
  • OpenBSD OpenBSD 3.1
  • OpenBSD OpenBSD 3.2
  • SGI IRIX 6.5.0
  • SGI IRIX 6.5.1
  • SGI IRIX 6.5.10
  • SGI IRIX 6.5.10 f
  • SGI IRIX 6.5.10 m
  • SGI IRIX 6.5.11
  • SGI IRIX 6.5.11 f
  • SGI IRIX 6.5.11 m
  • SGI IRIX 6.5.12
  • SGI IRIX 6.5.12 f
  • SGI IRIX 6.5.12 m
  • SGI IRIX 6.5.13
  • SGI IRIX 6.5.13 f
  • SGI IRIX 6.5.13 m
  • SGI IRIX 6.5.14
  • SGI IRIX 6.5.14 f
  • SGI IRIX 6.5.14 m
  • SGI IRIX 6.5.15
  • SGI IRIX 6.5.15 f
  • SGI IRIX 6.5.15 m
  • SGI IRIX 6.5.16
  • SGI IRIX 6.5.16 f
  • SGI IRIX 6.5.16 m
  • SGI IRIX 6.5.17
  • SGI IRIX 6.5.17 f
  • SGI IRIX 6.5.17 m
  • SGI IRIX 6.5.18
  • SGI IRIX 6.5.18 f
  • SGI IRIX 6.5.18 m
  • SGI IRIX 6.5.19
  • SGI IRIX 6.5.19 f
  • SGI IRIX 6.5.19 m
  • SGI IRIX 6.5.2
  • SGI IRIX 6.5.2 f
  • SGI IRIX 6.5.2 m
  • SGI IRIX 6.5.20
  • SGI IRIX 6.5.3
  • SGI IRIX 6.5.3 f
  • SGI IRIX 6.5.3 m
  • SGI IRIX 6.5.4
  • SGI IRIX 6.5.4 f
  • SGI IRIX 6.5.4 m
  • SGI IRIX 6.5.5
  • SGI IRIX 6.5.5 f
  • SGI IRIX 6.5.5 m
  • SGI IRIX 6.5.6
  • SGI IRIX 6.5.6 f
  • SGI IRIX 6.5.6 m
  • SGI IRIX 6.5.7
  • SGI IRIX 6.5.7 f
  • SGI IRIX 6.5.7 m
  • SGI IRIX 6.5.8
  • SGI IRIX 6.5.8 f
  • SGI IRIX 6.5.8 m
  • SGI IRIX 6.5.9
  • SGI IRIX 6.5.9 f
  • SGI IRIX 6.5.9 m
  • Sun Solaris 2.5.1
  • Sun Solaris 2.5.1_x86
  • Sun Solaris 2.6
  • Sun Solaris 2.6_x86
  • Sun Solaris 7.0
  • Sun Solaris 7.0_x86
  • Sun Solaris 8
  • Sun Solaris 8_x86
  • Sun Solaris 9
  • Sun Solaris 9_x86
  • diet libc diet libc 0.12.0
  • diet libc diet libc 0.15.0
  • diet libc diet libc 0.16.0
  • diet libc diet libc 0.17.0
  • diet libc diet libc 0.18.0
  • diet libc diet libc 0.19.0

Recommendations

Block external access at the network boundary, unless external parties require service.

Restrict remote access to all services from all but trusted hosts and internal networks. This may aid in preventing attempted exploitation of vulnerable applications.

Disable any unneccessary default services.

Auditing system configurations and removing all unneeded services may help prevent the exploitation of this issue.

Implement multiple redundant layers of security.

The exploitation of this and other potentially memory corruption vulnerabilities may be hindered through the use of memory protection schemes. Where possible, implement the use of non-executable and randomly mapped memory pages.

Run all software as a nonprivileged user with minimal access rights.

The consequences of exploitation may be limited by running all processes with the least privileges required to function.
Conectiva has released a security advisory (CLA-2003:633). The referenced advisory contains information pertaining to obtaining and applying fixes that address this issue. Users are advised to upgrade as soon as possible. Sorcerer Linux has advised that users update using the following commands: augur synch && augur update MIT has released a security advisory (2003-03-18) which contains a patch for KRB5 1.2.7. Red Hat has released a security advisory (RHSA-2003:089-00) which contains fixes addressing this issue. CERT has released a security advisory (CA-2003-10) which contains various vendor status information. Further details are available in the attached advisory. The glibc 2.3.1 CVS tree has been updated to contain the necessary fixes. Further information can be found the in the attached CERT advisory. It has been reported that IBM has released APAR IY38524, IY38434, IY39231, for AIX 4.3.3, 5.1, and 5.2 respectively. Users are advised to contact IBM support for further assistance. FreeBSD has released an advisory (FreeBSD-SA-03:05) containing patches for version 4.6, 4.7, and 5.0. Users are advised to upgrade as soon as possible. EnGarde has released a security advisory (ESA-20030321-010) containing a fix for this issue. Debian has released a security advisory [DSA 266-1] containing fixes for this issue. Debian has also released an advisory and fixes for dietlibc. See the References section for details. Gentoo has released glibc-2.3.1-r4 (arm: glibc-2.2.5-r8) which addresses this issue. Users are advised to upgrade by performing the following commands: emerge sync emerge glibc emerge clean Gentoo has also released dietlibc-0.22-r1 which addresses this issue. Users are advised to upgrade by performing the following commands: emerge sync emerge dietlibc emerge clean MandrakeSoft has released an advisory (MDKSA-2003:037), which contain fixes for glibc. Further information about obtaining and applying fixes are available in the referenced advisory. NetBSD has released a security advisory (2003-008) which contains information about obtaining fixes via CVS. Further information is available from the attached advisory. Trustix has released a security advisory (TSLSA-2003-0014) which contains fixes addressing this issue. Users are advised to upgrade as soon as possible. SGI has released a security advisory (20030402-01-P) which contains fixes addressing this issue. Debian has released a new advisory (DSA 282-1) for glibc. Affected users are advised to obtain and install new packages. Further information is available in the referenced advisory. Users of the apt-get system can issue the following commands to install new packages: apt-get update apt-get upgrade Conectiva has released a security advisory (CLA-2003:639) containing fixes which address this issue. Users are advised to upgrade as soon as possible. Red Hat has released a new security advisory (RHSA-2003-090) containing fixes to address this issue. Fixes are available via the Red Hat Network. Further information can be obtained via the attached advisory or by contacting the vendor. SuSE has released advisory SuSE-SA:2003:027 to address this issue. Revised HP advisory HPSBUX0303-252 SSRT2439 Rev.11 is has been released to address this issue. Fixes available:

Credits

The discovery of this vulnerability has been credited to Riley Hassell of eEye.
Copyright © Symantec Corporation.
Permission to redistribute this alert electronically is granted as long as it is not edited in any way unless authorized by Symantec Security Response. Reprinting the whole or part of this alert in any medium other than electronically requires permission from secure@symantec.com.

Disclaimer
The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.
Symantec, Symantec products, Symantec Security Response, and secure@symantec.com are registered trademarks of Symantec Corp. and/or affiliated companies in the United States and other countries. All other registered and unregistered trademarks represented in this document are the sole property of their respective companies/owners.

Threat Intelligence

Subscribe
Follow the Threat Intelligence Twitter feed
STAR Antimalware Protection Technologies
Internet Security Threat Report, Volume 17
Symantec DeepSight Screensaver