RedHat: 'ncurses4' Buffer overflow vulnerability
Summary
Summary
The ncurses library provides a terminal-independent method of screenhandling.A problem has been found in ncurses version 5.0 that could cause a bufferoverflow. This overflow could be locally exploited if the library islinked into a program that runs setuid or setgid.Red Hat Linux ships with a compatibility package 'ncurses4' that isactually based on ncurses version 5.0 but has been made ABI compatiblewith ncurses 4.No programs that ship with Red Hat Linux are exploitable. A program couldonly be exploited if it uses the ncurses 4 compatiblity package and if itis run setuid or setgid.The Common Vulnerabilities and Exposures project (cve.mitre.org) hasassigned the name CAN-2002-0062 to this issue. Thanks to DanielJacobowitz at MontaVista Software for alerting us to this issue.
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 ( for more info):
6. RPMs required:
Red Hat Linux 7.0:
SRPMS:
alpha:
i386:
Red Hat Linux 7.1:
SRPMS:
alpha:
i386:
Red Hat Linux 7.2:
SRPMS:
i386:
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:
About
You can verify each package with the following command:
rpm --checksig
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
References
CVE -CVE-2002-0062 Copyright(c) 2000, 2001 Red Hat, Inc. `
Package List
Topic
Topic
Updated ncurses4 compatability packages which fix a potential security
problem are available.
Relevant Releases Architectures
Red Hat Linux 7.0 - alpha, i386
Red Hat Linux 7.1 - alpha, i386
Red Hat Linux 7.2 - i386
Bugs Fixed