Alerts This Week
Warning Icon 1 525
Alerts This Week
Warning Icon 1 525

Red Hat Enterprise Linux: RHSA-2007:0229-02 Low GDB Buffer Overflow

Redhat Large Esm H500
An updated gdb package that fixes a security issue and various bugs is now available. Various buffer overflows and underflows were found in the DWARF expression computation stack in GDB. If a user loaded an executable containing malicious debugging information into GDB, an attacker might be able to execute arbitrary code with the privileges of the user.
- ---------------------------------------------------------------------                   Red Hat Security Advisory

Synopsis:          Low: gdb security and bug fix update
Advisory ID:       RHSA-2007:0229-02
Advisory URL:      https://access.redhat.com/errata/RHSA-2007:0229.html
Issue date:        2007-05-01
Updated on:        2007-05-01
Product:           Red Hat Enterprise Linux
Keywords:          stack buffer overflow dwarf
CVE Names:         CVE-2006-4146 
- ---------------------------------------------------------------------1. Summary:

An updated gdb package that fixes a security issue and various bugs is now
available.

This update has been rated as having low 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:

GDB, the GNU debugger, allows debugging of programs written in C, C++, and
other languages by executing them in a controlled fashion and then printing
their data.

Various buffer overflows and underflows were found in the DWARF expression
computation stack in GDB. If a user loaded an executable containing
malicious debugging information into GDB, an attacker might be able to
execute arbitrary code with the privileges of the user. (CVE-2006-4146)

This updated package also addresses the following issues:

* Fixed bogus 0x0 unwind of the thread's topmost function clone(3).

* Fixed deadlock accessing invalid address; for corrupted backtraces.

* Fixed a race which occasionally left the detached processes stopped.

* Fixed 'gcore' command for 32bit debugged processes on 64bit hosts.

* Added support for TLS 'errno' for threaded programs missing its '-debuginfo' package..

* Suggest TLS 'errno' resolving by hand if no threading was found..

* Added a fix to prevent stepping into asynchronously invoked signal handlers.

* Added a fix to avoid false warning on shared objects bfd close on Itanium.

* Fixed segmentation fault on the source display by ^X 1.

* Fixed object names keyboard completion.

* Added a fix to avoid crash of 'info threads' if stale threads exist.

* Fixed a bug where shared libraries occasionally failed to load .

* Fixed handling of exec() called by a threaded debugged program.

* Fixed rebuilding requirements of the gdb package itself on multilib systems.

* Fixed source directory pathname detection for the edit command.

All users of gdb should upgrade to this updated package, which contains
backported patches to resolve these issues.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.  Use Red Hat
Network to download and update your packages.  To launch the Red Hat
Update Agent, use the following command:

    up2date

For information on how to install packages manually, refer to the
following Web page for the System Administration or Customization
guide specific to your system:

    https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10

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

185337 - p errno does not work when stopped at a breakpoint
193763 - Buffer overrun in add_minsym_members
195429 - info threads crashes if zombie threads exist
202682 - print call foo where foo is in library SEGV
202689 - Cannot find user-level thread for LWP 4256: generic error
204841 - CVE-2006-4146 GDB buffer overflow

6. RPMs required:

Red Hat Enterprise Linux AS version 4:

SRPMS:
ed563ce21a2006efbc0692d66be0bc53  gdb-6.3.0.0-1.143.el4.src.rpm

i386:
9b62527f67a18e666b0b067bcdd41c80  gdb-6.3.0.0-1.143.el4.i386.rpm
bbe7e50dad259353505bcd74e7ea94d8  gdb-debuginfo-6.3.0.0-1.143.el4.i386.rpm

ia64:
9b62527f67a18e666b0b067bcdd41c80  gdb-6.3.0.0-1.143.el4.i386.rpm
529d36635ac1f649794a221566f2338f  gdb-6.3.0.0-1.143.el4.ia64.rpm
bbe7e50dad259353505bcd74e7ea94d8  gdb-debuginfo-6.3.0.0-1.143.el4.i386.rpm
ce560ff1d05b9de73627f650d561b831  gdb-debuginfo-6.3.0.0-1.143.el4.ia64.rpm

ppc:
98566f98be211ce100067cd7b85d3509  gdb-6.3.0.0-1.143.el4.ppc64.rpm
5d5dc74b03dc8832476add8b850a09ed  gdb-debuginfo-6.3.0.0-1.143.el4.ppc64.rpm

s390:
bc1203b4bff149f6c2ca5b69e534060b  gdb-6.3.0.0-1.143.el4.s390.rpm
e5e6b66defffe1f28c471d5bd877072a  gdb-debuginfo-6.3.0.0-1.143.el4.s390.rpm

s390x:
bf0e6243efc9bbe4b99c112bb018f1b3  gdb-6.3.0.0-1.143.el4.s390x.rpm
0019f56e10a21f8a97042fb32144c86a  gdb-debuginfo-6.3.0.0-1.143.el4.s390x.rpm

x86_64:
1226da2eef9141ecb6c1a6f8cdd985ab  gdb-6.3.0.0-1.143.el4.x86_64.rpm
665fc3e159ab7f043580b89af8900042  gdb-debuginfo-6.3.0.0-1.143.el4.x86_64.rpm

Red Hat Enterprise Linux Desktop version 4:

SRPMS:
ed563ce21a2006efbc0692d66be0bc53  gdb-6.3.0.0-1.143.el4.src.rpm

i386:
9b62527f67a18e666b0b067bcdd41c80  gdb-6.3.0.0-1.143.el4.i386.rpm
bbe7e50dad259353505bcd74e7ea94d8  gdb-debuginfo-6.3.0.0-1.143.el4.i386.rpm

x86_64:
1226da2eef9141ecb6c1a6f8cdd985ab  gdb-6.3.0.0-1.143.el4.x86_64.rpm
665fc3e159ab7f043580b89af8900042  gdb-debuginfo-6.3.0.0-1.143.el4.x86_64.rpm

Red Hat Enterprise Linux ES version 4:

SRPMS:
ed563ce21a2006efbc0692d66be0bc53  gdb-6.3.0.0-1.143.el4.src.rpm

i386:
9b62527f67a18e666b0b067bcdd41c80  gdb-6.3.0.0-1.143.el4.i386.rpm
bbe7e50dad259353505bcd74e7ea94d8  gdb-debuginfo-6.3.0.0-1.143.el4.i386.rpm

ia64:
9b62527f67a18e666b0b067bcdd41c80  gdb-6.3.0.0-1.143.el4.i386.rpm
529d36635ac1f649794a221566f2338f  gdb-6.3.0.0-1.143.el4.ia64.rpm
bbe7e50dad259353505bcd74e7ea94d8  gdb-debuginfo-6.3.0.0-1.143.el4.i386.rpm
ce560ff1d05b9de73627f650d561b831  gdb-debuginfo-6.3.0.0-1.143.el4.ia64.rpm

x86_64:
1226da2eef9141ecb6c1a6f8cdd985ab  gdb-6.3.0.0-1.143.el4.x86_64.rpm
665fc3e159ab7f043580b89af8900042  gdb-debuginfo-6.3.0.0-1.143.el4.x86_64.rpm

Red Hat Enterprise Linux WS version 4:

SRPMS:
ed563ce21a2006efbc0692d66be0bc53  gdb-6.3.0.0-1.143.el4.src.rpm

i386:
9b62527f67a18e666b0b067bcdd41c80  gdb-6.3.0.0-1.143.el4.i386.rpm
bbe7e50dad259353505bcd74e7ea94d8  gdb-debuginfo-6.3.0.0-1.143.el4.i386.rpm

ia64:
9b62527f67a18e666b0b067bcdd41c80  gdb-6.3.0.0-1.143.el4.i386.rpm
529d36635ac1f649794a221566f2338f  gdb-6.3.0.0-1.143.el4.ia64.rpm
bbe7e50dad259353505bcd74e7ea94d8  gdb-debuginfo-6.3.0.0-1.143.el4.i386.rpm
ce560ff1d05b9de73627f650d561b831  gdb-debuginfo-6.3.0.0-1.143.el4.ia64.rpm

x86_64:
1226da2eef9141ecb6c1a6f8cdd985ab  gdb-6.3.0.0-1.143.el4.x86_64.rpm
665fc3e159ab7f043580b89af8900042  gdb-debuginfo-6.3.0.0-1.143.el4.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://access.redhat.com/security/team/key/#package

7. References:

https://www.cve.org/CVERecord?id=CVE-2006-4146
https://access.redhat.com/security/updates/classification#low

8. Contact:

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

Copyright 2007 Red Hat, Inc.

Red Hat Enterprise Linux: RHSA-2007:0229-02 Low GDB Buffer Overflow

red hat
Calendar Grey May 1, 2007
Dist Redhat Esm H88
Debian releases a new version of the vim editor to tackle minor security vulnerabilities and fix multiple bugs to enhance system stability.
An updated gdb package that fixes a security issue and various bugs is now available

Solution

Before applying this update, make sure that all previously-released errata relevant to your system have been applied. Use Red Hat Network to download and update your packages. To launch the Red Hat Update Agent, use the following command:

up2date

For information on how to install packages manually, refer to the following Web page for the System Administration or Customization guide specific to your system:

https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10

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

185337 - p errno does not work when stopped at a breakpoint 193763 - Buffer overrun in add_minsym_members 195429 - info threads crashes if zombie threads exist 202682 - print call foo where foo is in library SEGV 202689 - Cannot find user-level thread for LWP 4256: generic error 204841 - CVE-2006-4146 GDB buffer overflow

6. RPMs required:

Red Hat Enterprise Linux AS version 4:

SRPMS: ed563ce21a2006efbc0692d66be0bc53 gdb-6.3.0.0-1.143.el4.src.rpm

i386: 9b62527f67a18e666b0b067bcdd41c80 gdb-6.3.0.0-1.143.el4.i386.rpm bbe7e50dad259353505bcd74e7ea94d8 gdb-debuginfo-6.3.0.0-1.143.el4.i386.rpm

ia64: 9b62527f67a18e666b0b067bcdd41c80 gdb-6.3.0.0-1.143.el4.i386.rpm 529d36635ac1f649794a221566f2338f gdb-6.3.0.0-1.143.el4.ia64.rpm bbe7e50dad259353505bcd74e7ea94d8 gdb-debuginfo-6.3.0.0-1.143.el4.i386.rpm ce560ff1d05b9de73627f650d561b831 gdb-debuginfo-6.3.0.0-1.143.el4.ia64.rpm

ppc: 98566f98be211ce100067cd7b85d3509 gdb-6.3.0.0-1.143.el4.ppc64.rpm 5d5dc74b03dc8832476add8b850a09ed gdb-debuginfo-6.3.0.0-1.143.el4.ppc64.rpm

s390: bc1203b4bff149f6c2ca5b69e534060b gdb-6.3.0.0-1.143.el4.s390.rpm e5e6b66defffe1f28c471d5bd877072a gdb-debuginfo-6.3.0.0-1.143.el4.s390.rpm

s390x: bf0e6243efc9bbe4b99c112bb018f1b3 gdb-6.3.0.0-1.143.el4.s390x.rpm 0019f56e10a21f8a97042fb32144c86a gdb-debuginfo-6.3.0.0-1.143.el4.s390x.rpm

x86_64: 1226da2eef9141ecb6c1a6f8cdd985ab gdb-6.3.0.0-1.143.el4.x86_64.rpm 665fc3e159ab7f043580b89af8900042 gdb-debuginfo-6.3.0.0-1.143.el4.x86_64.rpm

Red Hat Enterprise Linux Desktop version 4:

SRPMS: ed563ce21a2006efbc0692d66be0bc53 gdb-6.3.0.0-1.143.el4.src.rpm

i386: 9b62527f67a18e666b0b067bcdd41c80 gdb-6.3.0.0-1.143.el4.i386.rpm bbe7e50dad259353505bcd74e7ea94d8 gdb-debuginfo-6.3.0.0-1.143.el4.i386.rpm

x86_64: 1226da2eef9141ecb6c1a6f8cdd985ab gdb-6.3.0.0-1.143.el4.x86_64.rpm 665fc3e159ab7f043580b89af8900042 gdb-debuginfo-6.3.0.0-1.143.el4.x86_64.rpm

Red Hat Enterprise Linux ES version 4:

SRPMS: ed563ce21a2006efbc0692d66be0bc53 gdb-6.3.0.0-1.143.el4.src.rpm

i386: 9b62527f67a18e666b0b067bcdd41c80 gdb-6.3.0.0-1.143.el4.i386.rpm bbe7e50dad259353505bcd74e7ea94d8 gdb-debuginfo-6.3.0.0-1.143.el4.i386.rpm

ia64: 9b62527f67a18e666b0b067bcdd41c80 gdb-6.3.0.0-1.143.el4.i386.rpm 529d36635ac1f649794a221566f2338f gdb-6.3.0.0-1.143.el4.ia64.rpm bbe7e50dad259353505bcd74e7ea94d8 gdb-debuginfo-6.3.0.0-1.143.el4.i386.rpm ce560ff1d05b9de73627f650d561b831 gdb-debuginfo-6.3.0.0-1.143.el4.ia64.rpm

x86_64: 1226da2eef9141ecb6c1a6f8cdd985ab gdb-6.3.0.0-1.143.el4.x86_64.rpm 665fc3e159ab7f043580b89af8900042 gdb-debuginfo-6.3.0.0-1.143.el4.x86_64.rpm

Red Hat Enterprise Linux WS version 4:

SRPMS: ed563ce21a2006efbc0692d66be0bc53 gdb-6.3.0.0-1.143.el4.src.rpm

i386: 9b62527f67a18e666b0b067bcdd41c80 gdb-6.3.0.0-1.143.el4.i386.rpm bbe7e50dad259353505bcd74e7ea94d8 gdb-debuginfo-6.3.0.0-1.143.el4.i386.rpm

ia64: 9b62527f67a18e666b0b067bcdd41c80 gdb-6.3.0.0-1.143.el4.i386.rpm 529d36635ac1f649794a221566f2338f gdb-6.3.0.0-1.143.el4.ia64.rpm bbe7e50dad259353505bcd74e7ea94d8 gdb-debuginfo-6.3.0.0-1.143.el4.i386.rpm ce560ff1d05b9de73627f650d561b831 gdb-debuginfo-6.3.0.0-1.143.el4.ia64.rpm

x86_64: 1226da2eef9141ecb6c1a6f8cdd985ab gdb-6.3.0.0-1.143.el4.x86_64.rpm 665fc3e159ab7f043580b89af8900042 gdb-debuginfo-6.3.0.0-1.143.el4.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://access.redhat.com/security/team/key/#package

Summary

References

https://www.cve.org/CVERecord?id=CVE-2006-4146 https://access.redhat.com/security/updates/classification#low

Package List


Severity
low
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2007:0229-02
Issue date: 2007-05-01
Updated on: 2007-05-01
Product: Red Hat Enterprise Linux
Keywords: stack buffer overflow dwarf

Topic

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

Bugs Fixed

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here