Security Vulnerability in inet_network() Library Routine May Allow Denial of Service (DoS) to Applications



Category :Security
Release Phase :Resolved
Bug Id :6653976, 4491688  
Date of Resolved Release :09-Jun-2008 
Product :Solaris 8 Operating System
Solaris 9 Operating System
Solaris 10 Operating System
OpenSolaris  

Security Vulnerability in inet_network() Library Routine May Allow Denial of Service (DoS) to Applications (see below for details)


1. Impact


An off-by-one buffer overflow in the inet_network() library function,
defined in the libsocket(3LIB), libresolv(3LIB), and the SunOS 4.x binary
compatibility libraries libc.so.1.9 and libc.so.2.9 in Solaris, may affect
applications which make use of this routine. Depending on the
application, this may allow a local or remote unprivileged user to crash
the application using the inet_network() routine (which is a type of
Denial of Service).
This issue is also referenced in the following document:

CVE-2008-0122 at

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0122

2. Contributing Factors

This issue can occur in the following releases:

SPARC Platform
  • Solaris 8 for libresolv(3LIB)without patch 109326-21
  • Solaris 8 for libsocket(3LIB)without patch 111327-06
  • Solaris 8 for SunOS 4.x Binary Compatibility libraries without patch 109152-03
  • Solaris 9 for SunOS 4.x Binary Compatibility libraries without patch 112874-45
  • Solaris 10 for SunOS 4.x Binary Compatibility libraries without patch 136892-01
  • OpenSolaris based upon builds snv_01 through snv_87 (SunOS 4.x Binary Compatibility libraries only (6653976)) 

x86 Platform
  • Solaris 8 for libresolv(3LIB) without patch 109327-21
  • Solaris 8 for libsocket(3LIB) without patch 111328-05

Note 1: The inet_network() function in the libsocket(3LIB) and
libresolv(3LIB) libraries isn't affected by this issue in Solaris
9, 10 and OpenSolaris.


Note 2: The SunOS 4.x binary compatibility libraries allow existing SunOS
4.x applications, including OpenWindows applications, to run on
Solaris without modification or recompilation and only apply to
the SPARC architecture. More details can be found in the "Binary
Compatibility Guide" at http://docs.sun.com/.

Note 3: A partial test to check if an application links with a library such
as libresolv(3LIB) is to use ldd(1):

$ ldd /path/to/Application | grep libresolv
libresolv.so.2 => /usr/lib/libresolv.so.2

A comprehensive test to check if an application links with a
library such as libresolv(3LIB) requires the use of pldd(1)
against the running application since ldd(1) does not list any
shared objects explicitly attached using dlopen(3C). For example:

$ pldd `pgrep Application` | grep libresolv
/usr/lib/libresolv.so.2

3. Symptoms


If the described issue is exploited to cause a Denial of Service (DoS) to
an application which links to an affected library, the application will
exit and may generate an error message about a Segmentation Fault,
potentially writing a core(4) file.

4. Workaround


There is no workaround for this issue. Please see the "Resolution" section
below.

5. Resolution


This issue is addressed in the following releases:

SPARC Platform
  • Solaris 8 for libresolv(3LIB)with patch 109326-21 or later
  • Solaris 8 for libsocket(3LIB)with patch 111327-06 or later
  • Solaris 8 for SunOS 4.x Binary Compatibility libraries with patch 109152-03 or later
  • Solaris 9 for SunOS 4.x Binary Compatibility libraries with patch 112874-45 or later
  • Solaris 10 for SunOS 4.x Binary Compatibility libraries with patch 136892-01 or later
  • OpenSolaris based upon builds snv_88 or later (SunOS 4.x Binary Compatibility libraries only (6653976))
X86 Platform
  • Solaris 8 for libresolv(3LIB) with patch 109327-21 or later
  • Solaris 8 for libsocket(3LIB) with patch 111328-05 or later

For more information on Security Sun Alerts, see Technical Instruction ID 213557
http://sunsolve.sun.com/search/document.do?assetkey=1-61-213557-1

This Sun Alert notification is being provided to you on an "AS IS" basis. This Sun Alert notification may contain information provided by third parties. The issues described in this Sun Alert notification may or may not impact your system(s). Sun makes no representations, warranties, or guarantees as to the information contained herein. ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN. This Sun Alert notification contains Sun proprietary and confidential information. It is being provided to you pursuant to the provisions of your agreement to purchase services from Sun, or, if you do not have such an agreement, the Sun.com Terms of Use. This Sun Alert notification may only be used for the purposes contemplated by these agreements.

Copyright 2000-2008 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved.


Modification History

09-Jun-2008: Updated Contributing Factors and Resolution sections. Resolved.
10-Jun-2008: Additions to Contributing Factors and Resolution sections.




Attachments
This solution has no attachment

 
 
Login Required

You must login and have a valid contract to access Sun's Premium content which includes:

  • Sun Alerts
  • Bugs
  • Patches
  • Solutions
  • White Papers
  • Documentation
  • Support Knowledge

Login Required

You must login and have a valid contract to access Sun's contracted features

Access Legend:

(Login to access)   Sun Contracted Content
(Login to access)   Sun Contracted Feature

Please make use of SunSolve Feedback application by selecting the floating [+] to provide feedback about this specific document.

Search

Article Details
Article ID : 238493
Article Type : Sun Alert
Last reviewed : 2010-01-20
Audience : PUBLIC
Keywords :
Provide feedback  (help)
Page Tools
»  Print This Page
»  Email This Article
»  Bookmark This Article