RedHat: Moderate: libgtop2 security update
Posted by Benjamin D. Thomas   
RedHat Linux An updated libgtop2 package that fixes a security issue and a functionality bug is now available for Red Hat Enterprise Linux 4.A flaw was found in the way libgtop2 handled long filenames mapped into the address space of a process. An attacker could execute arbitrary code on behalf of the user running gnome-system-monitor by executing a process and mapping a file with a specially crafted name into the processes' address space. This update has been rated as having moderate security impact by the Red Hat Security Response Team.
- ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Moderate: libgtop2 security update
Advisory ID:       RHSA-2007:0765-01
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2007-0765.html
Issue date:        2007-08-07
Updated on:        2007-08-07
Product:           Red Hat Enterprise Linux
CVE Names:         CVE-2007-0235 
- ---------------------------------------------------------------------

1. Summary:

An updated libgtop2 package that fixes a security issue and a functionality
bug is now available for Red Hat Enterprise Linux 4.

This update has been rated as having moderate security impact by the Red
Hat Security Response Team.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 4 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Enterprise Linux Desktop version 4 - i386, x86_64
Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 4 - i386, ia64, x86_64

3. Problem description:

The libgtop2 package contains a library for obtaining information about a
running system, such as cpu, memory and disk usage; active processes; and
PIDs.

A flaw was found in the way libgtop2 handled long filenames mapped
into the address space of a process. An attacker could execute arbitrary
code on behalf of the user running gnome-system-monitor by executing a
process and mapping a file with a specially crafted name into the
processes' address space. (CVE-2007-0235)

This update also fixes the following bug:

* when a version of libgtop2 compiled to run on a 32-bit architecture was
used to inspect a process running in 64-bit mode, it failed to report
certain information regarding address space mapping correctly.

All users of gnome-system-monitor are advised to upgrade to this updated
libgtop2 package, which contains backported patches that resolve these issues.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.  

This update is available via Red Hat Network.  Details on how to use 
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188

5. Bug IDs fixed (http://bugzilla.redhat.com/):

208265 - LTC27411-bad PROC_MAPS_FORMAT in libgtop2-devel
249884 - CVE-2007-0235 Stack overflow libgtop when pathname of mmap()-ed file is too long

6. RPMs required:

Red Hat Enterprise Linux AS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/libgtop2-2.8.0-1.0.2.src.rpm
425c076a5c6159543fcfbc20b6fc9ac5  libgtop2-2.8.0-1.0.2.src.rpm

i386:
e13f014a83e4f9a4c1aab65b9b26dd49  libgtop2-2.8.0-1.0.2.i386.rpm
5a25d86fce4de80332459a1f69fc47d4  libgtop2-debuginfo-2.8.0-1.0.2.i386.rpm
927a64489da48b73ea77de3f1edceae9  libgtop2-devel-2.8.0-1.0.2.i386.rpm

ia64:
e13f014a83e4f9a4c1aab65b9b26dd49  libgtop2-2.8.0-1.0.2.i386.rpm
5b264d5218d336cd65ba94587f84ac9b  libgtop2-2.8.0-1.0.2.ia64.rpm
5a25d86fce4de80332459a1f69fc47d4  libgtop2-debuginfo-2.8.0-1.0.2.i386.rpm
89e40b3068d969b35628ccca1ac97603  libgtop2-debuginfo-2.8.0-1.0.2.ia64.rpm
48c3900aa97a2b7ccc3e2ddb2ca2b873  libgtop2-devel-2.8.0-1.0.2.ia64.rpm

ppc:
52a4b97e907f6e6a090c1bd244d8e991  libgtop2-2.8.0-1.0.2.ppc.rpm
4a873066f7b56e010d70dfd0909842db  libgtop2-2.8.0-1.0.2.ppc64.rpm
8f33ab89a037a0509942dd0bae36acc3  libgtop2-debuginfo-2.8.0-1.0.2.ppc.rpm
db560f7f1864be584edf3d77da6d58cc  libgtop2-debuginfo-2.8.0-1.0.2.ppc64.rpm
06bb7c0c7cfaaa0a853d678239c6e156  libgtop2-devel-2.8.0-1.0.2.ppc.rpm

s390:
005d556948bc9d94f470a1ff94484261  libgtop2-2.8.0-1.0.2.s390.rpm
5240f27e5caf7197ac714410b0cda50c  libgtop2-debuginfo-2.8.0-1.0.2.s390.rpm
1e307e77ebd76463fd59a5c654d41b88  libgtop2-devel-2.8.0-1.0.2.s390.rpm

s390x:
005d556948bc9d94f470a1ff94484261  libgtop2-2.8.0-1.0.2.s390.rpm
ad0bb6cc96630b89b32a37b1969aa7dc  libgtop2-2.8.0-1.0.2.s390x.rpm
5240f27e5caf7197ac714410b0cda50c  libgtop2-debuginfo-2.8.0-1.0.2.s390.rpm
d1e6fde103b36457e5ce7e9b02f7786d  libgtop2-debuginfo-2.8.0-1.0.2.s390x.rpm
e80a1b3e4242255180db0c3347118d7a  libgtop2-devel-2.8.0-1.0.2.s390x.rpm

x86_64:
e13f014a83e4f9a4c1aab65b9b26dd49  libgtop2-2.8.0-1.0.2.i386.rpm
00f38cfe4a283753806b330b42b89920  libgtop2-2.8.0-1.0.2.x86_64.rpm
5a25d86fce4de80332459a1f69fc47d4  libgtop2-debuginfo-2.8.0-1.0.2.i386.rpm
e8bb1487e19c10449b4d129788254e99  libgtop2-debuginfo-2.8.0-1.0.2.x86_64.rpm
3fa1bfa0abb082308d18a4e52e79f564  libgtop2-devel-2.8.0-1.0.2.x86_64.rpm

Red Hat Enterprise Linux Desktop version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4Desktop/en/os/SRPMS/libgtop2-2.8.0-1.0.2.src.rpm
425c076a5c6159543fcfbc20b6fc9ac5  libgtop2-2.8.0-1.0.2.src.rpm

i386:
e13f014a83e4f9a4c1aab65b9b26dd49  libgtop2-2.8.0-1.0.2.i386.rpm
5a25d86fce4de80332459a1f69fc47d4  libgtop2-debuginfo-2.8.0-1.0.2.i386.rpm
927a64489da48b73ea77de3f1edceae9  libgtop2-devel-2.8.0-1.0.2.i386.rpm

x86_64:
e13f014a83e4f9a4c1aab65b9b26dd49  libgtop2-2.8.0-1.0.2.i386.rpm
00f38cfe4a283753806b330b42b89920  libgtop2-2.8.0-1.0.2.x86_64.rpm
5a25d86fce4de80332459a1f69fc47d4  libgtop2-debuginfo-2.8.0-1.0.2.i386.rpm
e8bb1487e19c10449b4d129788254e99  libgtop2-debuginfo-2.8.0-1.0.2.x86_64.rpm
3fa1bfa0abb082308d18a4e52e79f564  libgtop2-devel-2.8.0-1.0.2.x86_64.rpm

Red Hat Enterprise Linux ES version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4ES/en/os/SRPMS/libgtop2-2.8.0-1.0.2.src.rpm
425c076a5c6159543fcfbc20b6fc9ac5  libgtop2-2.8.0-1.0.2.src.rpm

i386:
e13f014a83e4f9a4c1aab65b9b26dd49  libgtop2-2.8.0-1.0.2.i386.rpm
5a25d86fce4de80332459a1f69fc47d4  libgtop2-debuginfo-2.8.0-1.0.2.i386.rpm
927a64489da48b73ea77de3f1edceae9  libgtop2-devel-2.8.0-1.0.2.i386.rpm

ia64:
e13f014a83e4f9a4c1aab65b9b26dd49  libgtop2-2.8.0-1.0.2.i386.rpm
5b264d5218d336cd65ba94587f84ac9b  libgtop2-2.8.0-1.0.2.ia64.rpm
5a25d86fce4de80332459a1f69fc47d4  libgtop2-debuginfo-2.8.0-1.0.2.i386.rpm
89e40b3068d969b35628ccca1ac97603  libgtop2-debuginfo-2.8.0-1.0.2.ia64.rpm
48c3900aa97a2b7ccc3e2ddb2ca2b873  libgtop2-devel-2.8.0-1.0.2.ia64.rpm

x86_64:
e13f014a83e4f9a4c1aab65b9b26dd49  libgtop2-2.8.0-1.0.2.i386.rpm
00f38cfe4a283753806b330b42b89920  libgtop2-2.8.0-1.0.2.x86_64.rpm
5a25d86fce4de80332459a1f69fc47d4  libgtop2-debuginfo-2.8.0-1.0.2.i386.rpm
e8bb1487e19c10449b4d129788254e99  libgtop2-debuginfo-2.8.0-1.0.2.x86_64.rpm
3fa1bfa0abb082308d18a4e52e79f564  libgtop2-devel-2.8.0-1.0.2.x86_64.rpm

Red Hat Enterprise Linux WS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4WS/en/os/SRPMS/libgtop2-2.8.0-1.0.2.src.rpm
425c076a5c6159543fcfbc20b6fc9ac5  libgtop2-2.8.0-1.0.2.src.rpm

i386:
e13f014a83e4f9a4c1aab65b9b26dd49  libgtop2-2.8.0-1.0.2.i386.rpm
5a25d86fce4de80332459a1f69fc47d4  libgtop2-debuginfo-2.8.0-1.0.2.i386.rpm
927a64489da48b73ea77de3f1edceae9  libgtop2-devel-2.8.0-1.0.2.i386.rpm

ia64:
e13f014a83e4f9a4c1aab65b9b26dd49  libgtop2-2.8.0-1.0.2.i386.rpm
5b264d5218d336cd65ba94587f84ac9b  libgtop2-2.8.0-1.0.2.ia64.rpm
5a25d86fce4de80332459a1f69fc47d4  libgtop2-debuginfo-2.8.0-1.0.2.i386.rpm
89e40b3068d969b35628ccca1ac97603  libgtop2-debuginfo-2.8.0-1.0.2.ia64.rpm
48c3900aa97a2b7ccc3e2ddb2ca2b873  libgtop2-devel-2.8.0-1.0.2.ia64.rpm

x86_64:
e13f014a83e4f9a4c1aab65b9b26dd49  libgtop2-2.8.0-1.0.2.i386.rpm
00f38cfe4a283753806b330b42b89920  libgtop2-2.8.0-1.0.2.x86_64.rpm
5a25d86fce4de80332459a1f69fc47d4  libgtop2-debuginfo-2.8.0-1.0.2.i386.rpm
e8bb1487e19c10449b4d129788254e99  libgtop2-debuginfo-2.8.0-1.0.2.x86_64.rpm
3fa1bfa0abb082308d18a4e52e79f564  libgtop2-devel-2.8.0-1.0.2.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0235
http://www.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is .  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2007 Red Hat, Inc.