Gentoo Linux Advisories: dietlibc, glibc

Written By
Web Webster
Web Webster
Sep 27, 2002
- - --------------------------------------------------------------------
GENTOO LINUX SECURITY ANNOUNCEMENT
- - --------------------------------------------------------------------

PACKAGE        :dietlibc
SUMMARY        :integer overflow
DATE           :2002-09-27 10:00 UTC

- - --------------------------------------------------------------------

There is an integer overflow present in the xdr_array() function 
distributed as part of the Sun Microsystems XDR library. This overflow 
has been shown  to lead to remotely exploitable buffer overflows in 
multiple applications, leading to the execution of arbitrary code. 
Although the library was originally distributed by Sun Microsystems, 
multiple vendors have included the vulnerable code in their own 
implementations.

DETAIL

The XDR (external data representation) libraries are used to provide
platform-independent methods for sending data from one system process to
another, typically over a network connection. Such routines are commonly
used in remote procedure call (RPC) implementations to provide transparency 
to application programmers who need to use common interfaces to interact 
with many different types of systems. The xdr_array() function in the XDR 
library provided by Sun Microsystems contains an integer overflow that can 
lead to improperly sized dynamic memory allocation. Subsequent problems like 
buffer overflows may result, depending on how and where the vulnerable 
xdr_array() function is used.

More information can be found at:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCAN-2002-0391
http://www.kb.cert.org/vuls/id/192995

SOLUTION

It is recommended that all Gentoo Linux users who are running
dev-libs/dietlibc-0.16 and earlier update their systems
as follows:

emerge rsync
emerge dietlibc
emerge clean

- - --------------------------------------------------------------------
aliz@gentoo.org - GnuPG key is available at www.gentoo.org/~aliz
- - --------------------------------------------------------------------


- - --------------------------------------------------------------------
GENTOO LINUX SECURITY ANNOUNCEMENT
- - --------------------------------------------------------------------

PACKAGE        :glibc
SUMMARY        :division by zero
DATE           :2002-09-27 10:00 UTC

- - --------------------------------------------------------------------

Wolfram Gloger discovered that the sunrpc overflow bugfix unintentially
replaced potential integer overflows in connection with malloc() with
more likely divisions by zero.

DETAIL

The XDR (external data representation) libraries are used to provide
platform-independent methods for sending data from one system process to
another, typically over a network connection. Such routines are commonly
used in remote procedure call (RPC) implementations to provide transparency 
to application programmers who need to use common interfaces to interact 
with many different types of systems. The xdr_array() function in the XDR 
library provided by Sun Microsystems contains an integer overflow that can 
lead to improperly sized dynamic memory allocation. Subsequent problems like 
buffer overflows may result, depending on how and where the vulnerable 
xdr_array() function is used.

More information can be found at:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCAN-2002-0391
http://www.kb.cert.org/vuls/id/192995

SOLUTION

It is recommended that all Gentoo Linux users who are running
sys-libs/glibc-2.2.5-r6 and earlier update their systems
as follows:

emerge rsync
emerge glibc
emerge clean

- - --------------------------------------------------------------------
aliz@gentoo.org - GnuPG key is available at www.gentoo.org/~aliz
- - --------------------------------------------------------------------
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.