Synopsis
The remote Red Hat host is missing a security update for gdb.
Description
The remote Redhat Enterprise Linux 4 host has a package installed that is affected by a vulnerability as referenced in the RHSA-2007:0229 advisory.
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.
Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.
Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.
Solution
Update the RHEL gdb package based on the guidance in RHSA-2007:0229.
Plugin Details
File Name: redhat-RHSA-2007-0229.nasl
Agent: unix
Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus
Risk Information
Vendor
Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:P
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C
Vulnerability Information
CPE: cpe:/o:redhat:enterprise_linux:4, p-cpe:/a:redhat:enterprise_linux:gdb
Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu
Patch Publication Date: 5/1/2007
Vulnerability Publication Date: 8/31/2006