Skip to navigation

Security Advisory gdb security update

Advisory: RHSA-2005:709-6
Type: Security Advisory
Severity: Low
Issued on: 2005-10-05
Last updated on: 2005-10-05
Affected Products: Red Hat Desktop (v. 4)
Red Hat Enterprise Linux AS (v. 4)
Red Hat Enterprise Linux ES (v. 4)
Red Hat Enterprise Linux WS (v. 4)
CVEs (cve.mitre.org): CVE-2005-1704
CVE-2005-1705

Details

An updated gdb package that fixes several bugs and minor security issues is
now available.

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

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

Several integer overflow bugs were found in gdb. If a user is tricked
into processing a specially crafted executable file, it may allow the
execution of arbitrary code as the user running gdb. The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
CAN-2005-1704 to this issue.

A bug was found in the way gdb loads .gdbinit files. When a user executes
gdb, the local directory is searched for a .gdbinit file which is then
loaded. It is possible for a local user to execute arbitrary commands as
the victim running gdb by placing a malicious .gdbinit file in a location
where gdb may be run. The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CAN-2005-1705 to this issue.

This updated package also addresses the following issues:

- GDB on ia64 had previously implemented a bug fix to work-around a kernel
problem when creating a core file via gcore. The bug fix caused a
significant slow-down of gcore.

- GDB on ia64 issued an extraneous warning when gcore was used.

- GDB on ia64 could not backtrace over a sigaltstack.

- GDB on ia64 could not successfully do an info frame for a signal trampoline.

- GDB on AMD64 and Intel EM64T had problems attaching to a 32-bit process.

- GDB on AMD64 and Intel EM64T was not properly handling threaded watchpoints.

- GDB could not build with gcc4 when -Werror flag was set.

- GDB had problems printing inherited members of C++ classes.

- A few updates from mainline sources concerning Dwarf2 partial die in
cache support, follow-fork support, interrupted syscall support, and
DW_OP_piece read support.

All users of gdb should upgrade to this updated package, which resolves
these issues.


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:

http://www.redhat.com/docs/manuals/enterprise/

Updated packages

Red Hat Desktop (v. 4)

SRPMS:
gdb-6.3.0.0-1.63.src.rpm
File outdated by:  RHBA-2009:1015
    MD5: a5415cbe08fdb27c05eaff709734e6f5
 
IA-32:
gdb-6.3.0.0-1.63.i386.rpm
File outdated by:  RHBA-2009:1015
    MD5: 345dd8705bf465cd80e161e7cc96ac72
 
x86_64:
gdb-6.3.0.0-1.63.x86_64.rpm
File outdated by:  RHBA-2009:1015
    MD5: ef221fad920c658c7a1c98f053f738d1
 
Red Hat Enterprise Linux AS (v. 4)

SRPMS:
gdb-6.3.0.0-1.63.src.rpm
File outdated by:  RHBA-2009:1015
    MD5: a5415cbe08fdb27c05eaff709734e6f5
 
IA-32:
gdb-6.3.0.0-1.63.i386.rpm
File outdated by:  RHBA-2009:1015
    MD5: 345dd8705bf465cd80e161e7cc96ac72
 
IA-64:
gdb-6.3.0.0-1.63.i386.rpm
File outdated by:  RHBA-2009:1015
    MD5: 345dd8705bf465cd80e161e7cc96ac72
gdb-6.3.0.0-1.63.ia64.rpm
File outdated by:  RHBA-2009:1015
    MD5: eeee08a208c4b8cb238657d1f13d319b
 
PPC:
gdb-6.3.0.0-1.63.ppc64.rpm
File outdated by:  RHBA-2009:1015
    MD5: 6956fc6e07f46783aa075d78a185dff3
 
s390:
gdb-6.3.0.0-1.63.s390.rpm
File outdated by:  RHBA-2009:1015
    MD5: 036d82e926fe0a8c101a2d62447257f3
 
s390x:
gdb-6.3.0.0-1.63.s390x.rpm
File outdated by:  RHBA-2009:1015
    MD5: 239453b89d6f08e3b5e8c7c1b4f2ac0a
 
x86_64:
gdb-6.3.0.0-1.63.x86_64.rpm
File outdated by:  RHBA-2009:1015
    MD5: ef221fad920c658c7a1c98f053f738d1
 
Red Hat Enterprise Linux ES (v. 4)

SRPMS:
gdb-6.3.0.0-1.63.src.rpm
File outdated by:  RHBA-2009:1015
    MD5: a5415cbe08fdb27c05eaff709734e6f5
 
IA-32:
gdb-6.3.0.0-1.63.i386.rpm
File outdated by:  RHBA-2009:1015
    MD5: 345dd8705bf465cd80e161e7cc96ac72
 
IA-64:
gdb-6.3.0.0-1.63.i386.rpm
File outdated by:  RHBA-2009:1015
    MD5: 345dd8705bf465cd80e161e7cc96ac72
gdb-6.3.0.0-1.63.ia64.rpm
File outdated by:  RHBA-2009:1015
    MD5: eeee08a208c4b8cb238657d1f13d319b
 
x86_64:
gdb-6.3.0.0-1.63.x86_64.rpm
File outdated by:  RHBA-2009:1015
    MD5: ef221fad920c658c7a1c98f053f738d1
 
Red Hat Enterprise Linux WS (v. 4)

SRPMS:
gdb-6.3.0.0-1.63.src.rpm
File outdated by:  RHBA-2009:1015
    MD5: a5415cbe08fdb27c05eaff709734e6f5
 
IA-32:
gdb-6.3.0.0-1.63.i386.rpm
File outdated by:  RHBA-2009:1015
    MD5: 345dd8705bf465cd80e161e7cc96ac72
 
IA-64:
gdb-6.3.0.0-1.63.i386.rpm
File outdated by:  RHBA-2009:1015
    MD5: 345dd8705bf465cd80e161e7cc96ac72
gdb-6.3.0.0-1.63.ia64.rpm
File outdated by:  RHBA-2009:1015
    MD5: eeee08a208c4b8cb238657d1f13d319b
 
x86_64:
gdb-6.3.0.0-1.63.x86_64.rpm
File outdated by:  RHBA-2009:1015
    MD5: ef221fad920c658c7a1c98f053f738d1
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

158680 - CAN-2005-1704 Integer overflow in gdb
158684 - CAN-2005-1705 gdb arbitrary command execution
160339 - GDB fails to correctly report frame information


References


Keywords

gdb


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

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