Red Hat Bugzilla – Bug 158684
CAN-2005-1705 gdb arbitrary command execution
Last modified: 2015-01-07 19:10:04 EST
gdb before 6.3 searches the current working directory to load the
.gdbinit configuration file, which allows local users to execute
arbitrary commands as the user running gdb.
More information can be found in the gentoo BTS:
This issue should also affect RHEL2.1 and RHEL3
Has this fix made it into the RHEL3 U6 update?
jakub has these fixes in the binutils update for RHEL3U6 and RHEL4U2, so I
believe even if we're not ready for U6, we can move forward with a patch.
This has been fixed in gdb errata gdb-188.8.131.52-0.31.4 and is in the current
releases RHEL3U6 and RHEL4U2.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.