SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Curses Library (curses, ncurses) Vendors:   [Multiple Authors/Vendors]
(Red Hat Issues Fix) Ncurses Library Buffer Overflow May Allow a Local User to Crash Applications and Possibly Execute Arbitrary Code
SecurityTracker Alert ID:  1003626
SecurityTracker URL:  http://securitytracker.com/id/1003626
CVE Reference:   CVE-2002-0062   (Links to External Site)
Date:  Feb 21 2002
Impact:   Denial of service via local system, Execution of arbitrary code via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 5.0
Description:   A buffer overflow was reported in the "ncurses" library. A local user may be able to make applications crash and possibly execute arbitrary code.

Debian reports that this vulnerability was reported in the year 2000 as one of many buffer overflow vulnerabilities, but one of them was not properly fixed. Debian reports that this buffer overflow can lead to crashes when using ncurses applications in large windows.

The original vulnerability report indicated that buffer overflows in the parsing of terminfo database files were only exploitable in the presence of set user id (suid) or set group id (sgid) binaries that are linked to ncurses and that use these particular functions. Execution of arbitrary code was possible.

Impact:   A local user may be able to make ncurses-based applications crash or possibly execute arbitrary code.
Solution:   The vendor has released a fix.

Red Hat Linux 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/ncurses4-5.0-5.src.rpm

alpha:
ftp://updates.redhat.com/7.0/en/os/alpha/ncurses4-5.0-5.alpha.rpm

i386:
ftp://updates.redhat.com/7.0/en/os/i386/ncurses4-5.0-5.i386.rpm

Red Hat Linux 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/ncurses4-5.0-5.src.rpm

alpha:
ftp://updates.redhat.com/7.1/en/os/alpha/ncurses4-5.0-5.alpha.rpm

i386:
ftp://updates.redhat.com/7.1/en/os/i386/ncurses4-5.0-5.i386.rpm

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/ncurses4-5.0-5.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/ncurses4-5.0-5.i386.rpm

The verification checksums are:

MD5 sum Package Name
--------------------------------------------------------------------------
53856e0c3219de2fcb4e56600b4eb3b9 7.0/en/os/SRPMS/ncurses4-5.0-5.src.rpm
b470c5cf9eaaa4710a09e114aced3f4d 7.0/en/os/alpha/ncurses4-5.0-5.alpha.rpm
b5ad8bc36c129534192e0dbce582f5ed 7.0/en/os/i386/ncurses4-5.0-5.i386.rpm
53856e0c3219de2fcb4e56600b4eb3b9 7.1/en/os/SRPMS/ncurses4-5.0-5.src.rpm
b470c5cf9eaaa4710a09e114aced3f4d 7.1/en/os/alpha/ncurses4-5.0-5.alpha.rpm
b5ad8bc36c129534192e0dbce582f5ed 7.1/en/os/i386/ncurses4-5.0-5.i386.rpm
53856e0c3219de2fcb4e56600b4eb3b9 7.2/en/os/SRPMS/ncurses4-5.0-5.src.rpm
b5ad8bc36c129534192e0dbce582f5ed 7.2/en/os/i386/ncurses4-5.0-5.i386.rpm

See the Source Message for the vendor's advisory containing directions on how to apply the appropriate fix.

Cause:   Boundary error
Underlying OS:  Linux (Red Hat Linux)

Message History:   This archive entry is a follow-up to the message listed below.
Feb 19 2002 Ncurses Library Buffer Overflow May Allow a Local User to Crash Applications and Possibly Execute Arbitrary Code



 Source Message Contents

Subject:  [RHSA-2002:020-05] Updated ncurses4 compat packages are available


---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated ncurses4 compat packages are available
Advisory ID:       RHSA-2002:020-05
Issue date:        2002-01-29
Updated on:        2002-02-19
Product:           Red Hat Linux
Keywords:          ncurses4 buffer overrun overflow ncurses5
Cross references:  
Obsoletes:         
---------------------------------------------------------------------

1. Topic:

Updated ncurses4 compatability packages which fix a potential security
problem are available.

2. Relevant releases/architectures:

Red Hat Linux 7.0 - alpha, i386

Red Hat Linux 7.1 - alpha, i386

Red Hat Linux 7.2 - i386

3. Problem description:

The ncurses library provides a terminal-independent method of screen
handling.

A problem has been found in ncurses version 5.0 that could cause a buffer
overflow.  This overflow could be locally exploited if the library is
linked into a program that runs setuid or setgid.

Red Hat Linux ships with a compatibility package 'ncurses4' that is
actually based on ncurses version 5.0 but has been made ABI compatible
with ncurses 4.

No programs that ship with Red Hat Linux are exploitable.  A program could
only be exploited if it uses the ncurses 4 compatiblity package and if it
is run setuid or setgid.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2002-0062 to this issue.  Thanks to Daniel
Jacobowitz at MontaVista Software for alerting us to this issue.

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. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):



6. RPMs required:

Red Hat Linux 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/ncurses4-5.0-5.src.rpm

alpha:
ftp://updates.redhat.com/7.0/en/os/alpha/ncurses4-5.0-5.alpha.rpm

i386:
ftp://updates.redhat.com/7.0/en/os/i386/ncurses4-5.0-5.i386.rpm

Red Hat Linux 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/ncurses4-5.0-5.src.rpm

alpha:
ftp://updates.redhat.com/7.1/en/os/alpha/ncurses4-5.0-5.alpha.rpm

i386:
ftp://updates.redhat.com/7.1/en/os/i386/ncurses4-5.0-5.i386.rpm

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/ncurses4-5.0-5.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/ncurses4-5.0-5.i386.rpm



7. Verification:

MD5 sum                          Package Name
--------------------------------------------------------------------------
53856e0c3219de2fcb4e56600b4eb3b9 7.0/en/os/SRPMS/ncurses4-5.0-5.src.rpm
b470c5cf9eaaa4710a09e114aced3f4d 7.0/en/os/alpha/ncurses4-5.0-5.alpha.rpm
b5ad8bc36c129534192e0dbce582f5ed 7.0/en/os/i386/ncurses4-5.0-5.i386.rpm
53856e0c3219de2fcb4e56600b4eb3b9 7.1/en/os/SRPMS/ncurses4-5.0-5.src.rpm
b470c5cf9eaaa4710a09e114aced3f4d 7.1/en/os/alpha/ncurses4-5.0-5.alpha.rpm
b5ad8bc36c129534192e0dbce582f5ed 7.1/en/os/i386/ncurses4-5.0-5.i386.rpm
53856e0c3219de2fcb4e56600b4eb3b9 7.2/en/os/SRPMS/ncurses4-5.0-5.src.rpm
b5ad8bc36c129534192e0dbce582f5ed 7.2/en/os/i386/ncurses4-5.0-5.i386.rpm
 

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
    http://www.redhat.com/about/contact/pgpkey.html

You can verify each package with the following command:
    rpm --checksig  <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    rpm --checksig --nogpg <filename>

8. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0062


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



_______________________________________________
Redhat-watch-list mailing list
To unsubscribe, visit: https://listman.redhat.com/mailman/listinfo/redhat-watch-list


 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC