Lucene search

K
centosCentOS ProjectCESA-2013:0522
HistoryFeb 27, 2013 - 7:34 p.m.

gdb security update

2013-02-2719:34:59
CentOS Project
lists.centos.org
45

0.0004 Low

EPSS

Percentile

5.2%

CentOS Errata and Security Advisory CESA-2013:0522

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.

Merged security bulletin from advisories:
https://lists.centos.org/pipermail/centos-announce/2013-March/081490.html
https://lists.centos.org/pipermail/centos-cr-announce/2013-February/026787.html

Affected packages:
gdb
gdb-gdbserver

Upstream details at:
https://access.redhat.com/errata/RHSA-2013:0522