Scientific Linux Security Update : gdb on SL6.x i386/x86_64 (20130221)

medium Nessus Plugin ID 64951

Synopsis

The remote Scientific Linux host is missing one or more security updates.

Description

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.

- 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.

- 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.

Solution

Update the affected gdb, gdb-debuginfo and / or gdb-gdbserver packages.

See Also

http://www.nessus.org/u?c6da2811

Plugin Details

Severity: Medium

ID: 64951

File Name: sl_20130221_gdb_on_SL6_x.nasl

Version: 1.6

Type: local

Agent: unix

Published: 3/1/2013

Updated: 1/14/2021

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.9

Vector: CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:fermilab:scientific_linux:gdb, p-cpe:/a:fermilab:scientific_linux:gdb-debuginfo, p-cpe:/a:fermilab:scientific_linux:gdb-gdbserver, x-cpe:/o:fermilab:scientific_linux

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Patch Publication Date: 2/21/2013

Vulnerability Publication Date: 3/5/2013

Reference Information

CVE: CVE-2011-4355