Alerts This Week
Warning Icon 1 692
Alerts This Week
Warning Icon 1 692

Red Hat Enterprise Linux 6 RHSA-2013:0522-02 Moderate: GDB Security Fix

red hat
Calendar Grey February 21, 2013
Dist Redhat Esm H88
Revised kernel components rectify a notable vulnerability and several defects for CentOS 6, improving overall security.
Updated gdb packages that fix one security issue and three bugs are now available for Red Hat Enterprise Linux 6

Solution

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

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/knowledge/articles/11258

Summary

The GNU Debugger (GDB) allows debugging of programs written in C, C++, Java, and other languages by executing them in a controlled fashion and then printing out their data.
GDB tried to auto-load certain files (such as GDB scripts, Python scripts, and a thread debugging library) from the current working directory when debugging programs. This could result in the execution of arbitrary code with the user's privileges when GDB was run in a directory that has untrusted content. (CVE-2011-4355)
With this update, GDB no longer auto-loads files from the current directory and only trusts certain system directories by default. The list of trusted directories can be viewed and modified using the "show auto-load safe-path" and "set auto-load safe-path" GDB commands. Refer to the GDB manual, linked to in the References, for further information.
This update also fixes the following bugs:
* When a struct member was at an offset greater than 256 MB, the resulting bit position within the struct overflowed and caused an invalid memory access by GDB. With this update, the code has been modified to ensure that GDB can access such positions. (BZ#795424)
* When a thread list of the core file became corrupted, GDB did not print this list but displayed the "Cannot find new threads: generic error" error message instead. With this update, GDB has been modified and it now prints the thread list of the core file as expected. (BZ#811648)
* GDB did not properly handle debugging of multiple binaries with the same build ID. This update modifies GDB to use symbolic links created for particular binaries so that debugging of binaries that share a build ID now proceeds as expected. Debugging of live programs and core files is now more user-friendly. (BZ#836966)
All users of gdb are advised to upgrade to these updated packages, which contain backported patches to correct these issues.

References

https://access.redhat.com/security/cve/CVE-2011-4355 https://access.redhat.com/security/updates/classification/#moderate

Package List

Red Hat Enterprise Linux Desktop (v. 6):
Source:
i386: gdb-7.2-60.el6.i686.rpm gdb-debuginfo-7.2-60.el6.i686.rpm gdb-gdbserver-7.2-60.el6.i686.rpm
x86_64: gdb-7.2-60.el6.x86_64.rpm gdb-debuginfo-7.2-60.el6.x86_64.rpm gdb-gdbserver-7.2-60.el6.x86_64.rpm
Red Hat Enterprise Linux HPC Node (v. 6):
Source:
x86_64: gdb-7.2-60.el6.x86_64.rpm gdb-debuginfo-7.2-60.el6.x86_64.rpm gdb-gdbserver-7.2-60.el6.x86_64.rpm
Red Hat Enterprise Linux Server (v. 6):
Source:
i386: gdb-7.2-60.el6.i686.rpm gdb-debuginfo-7.2-60.el6.i686.rpm gdb-gdbserver-7.2-60.el6.i686.rpm
ppc64: gdb-7.2-60.el6.ppc64.rpm gdb-debuginfo-7.2-60.el6.ppc64.rpm gdb-gdbserver-7.2-60.el6.ppc64.rpm
s390x: gdb-7.2-60.el6.s390x.rpm gdb-debuginfo-7.2-60.el6.s390x.rpm gdb-gdbserver-7.2-60.el6.s390x.rpm
x86_64: gdb-7.2-60.el6.x86_64.rpm gdb-debuginfo-7.2-60.el6.x86_64.rpm gdb-gdbserver-7.2-60.el6.x86_64.rpm
Red Hat Enterprise Linux Workstation (v. 6):
Source:
i386: gdb-7.2-60.el6.i686.rpm gdb-debuginfo-7.2-60.el6.i686.rpm gdb-gdbserver-7.2-60.el6.i686.rpm
x86_64: gdb-7.2-60.el6.x86_64.rpm gdb-debuginfo-7.2-60.el6.x86_64.rpm gdb-gdbserver-7.2-60.el6.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


Advisory ID: RHSA-2013:0522-02
Product: Red Hat Enterprise Linux
Issue date: 2013-02-21

Topic

Updated gdb packages that fix one security issue and three bugs are nowavailable for Red Hat Enterprise Linux 6.The Red Hat Security Response Team has rated this update as having moderatesecurity impact. A Common Vulnerability Scoring System (CVSS) base score,which gives a detailed severity rating, is available from the CVE link inthe References section.

Relevant Releases Architectures

Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64

Red Hat Enterprise Linux HPC Node (v. 6) - x86_64

Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64

Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64

Bugs Fixed

703238 - CVE-2011-4355 gdb: object file .debug_gdb_scripts section improper input validation

811648 - Cannot find new threads: generic error

836966 - Backport gdb fix to handle identical binaries via additional build-id symlinks

Get the latest News and Insights

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

Your message here