- Issued:
- 2008-05-21
- Updated:
- 2008-05-21
RHBA-2008:0380 - Bug Fix Advisory
Synopsis
bash bug fix update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
An updated bash package that fixes several bugs is now available.
Description
Bash is the default shell for Red Hat Enterprise Linux.
This updated package fixes the following bugs:
- bash did not close two-digit or more file descriptors, such as
"[n]<&-". In this updated package, file descriptors work as expected.
- the "/etc/skel/.bash_logout" file invoked the "clear" command. This
could break if a user changed their "$PATH" variable. In this updated
package, "/etc/skel/.bash_logout" calls the "clear" command using the full
path, "/usr/bin/clear", which resolves this issue.
- in certain situations, on systems using UTF-8 locales, starting an
incremental backwards search using "Crtl+R", and then cancelling the search
using "Ctrl+G", resulted in the cursor being in the wrong position, for
example, over the bash prompt text, as exported using the "$PS1" variable.
- the bash man page has been updated to reflect the correct behavior of
special built-in commands, such as "eval", "exec", and "set", when using
the "posix" mode.
- the bash man page stated that the maximum resident set size could be set
using the "ulimit -m" option; however, this option does not have any affect
on Linux, and as such, this option has been removed from the bash man page.
- the bash man page has been updated to explain bash's use of aliases in
non-interactive scripts.
- bash had problems handling certain multibyte strings in the command line,
which could have caused a segmentation fault.
- certain expressions in parameter expansions caused a double-free error,
and caused bash to crash.
- bash mishandled sub-processes that used recycled PIDs. Bash did not wait
for processes using a recycled PID to finish, causing, for example, sleep
to have no effect. This issue may have affected other commands.
As well, this updated package upgrades bash to version 3.2. For a full list
of bug fixes and enhancements, please refere to the bash 3.2 changelog:
http://tiswww.tis.case.edu/~chet/bash/CHANGES
Note: this changelog will be updated after future bash releases.
Users of bash are advised to upgrade to this updated package, which
resolves these issues.
Solution
Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.
This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188
Affected Products
- Red Hat Enterprise Linux Server 5 x86_64
- Red Hat Enterprise Linux Server 5 ia64
- Red Hat Enterprise Linux Server 5 i386
- Red Hat Enterprise Linux Workstation 5 x86_64
- Red Hat Enterprise Linux Workstation 5 i386
- Red Hat Enterprise Linux Desktop 5 x86_64
- Red Hat Enterprise Linux Desktop 5 i386
- Red Hat Enterprise Linux for IBM z Systems 5 s390x
- Red Hat Enterprise Linux for Power, big endian 5 ppc
- Red Hat Enterprise Linux Server from RHUI 5 x86_64
- Red Hat Enterprise Linux Server from RHUI 5 i386
Fixes
- BZ - 217394 - bash does not close filehandles when asked.
- BZ - 223963 - .bash_logout: use full path for 'clear'
- BZ - 242683 - Bad position of cursor in bash
- BZ - 245641 - [RHEL5 Doc]: Certain bash commands have differing behavior when run as "sh" vs. "bash"
- BZ - 249566 - 'ulimit -m' does not limit Resident Set Size
- BZ - 253673 - Bash man page correction for alias expansion.
- BZ - 380421 - tracker bug for bash 3.2 rebase
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 5
SRPM | |
---|---|
bash-3.2-21.el5.src.rpm | SHA-256: dd3e0a66a287220c807f14f311076334c0c0bc8bca75c5ba37e22d52a78e0a25 |
x86_64 | |
bash-3.2-21.el5.x86_64.rpm | SHA-256: bf59333302ff33ed4aa684f4aabc19d7d9c5f69fad20a0c8eb14f91cb2414b43 |
ia64 | |
bash-3.2-21.el5.i386.rpm | SHA-256: 7c76ea3952d6e64627d93b62751252d6398c611332ebf853203cdc2e5e8118bf |
bash-3.2-21.el5.ia64.rpm | SHA-256: add1ec9443404c9ac6e0a5d1a35d8c9c8c115d207dcdea5a4ee0e1f84a2f1305 |
i386 | |
bash-3.2-21.el5.i386.rpm | SHA-256: 7c76ea3952d6e64627d93b62751252d6398c611332ebf853203cdc2e5e8118bf |
Red Hat Enterprise Linux Workstation 5
SRPM | |
---|---|
bash-3.2-21.el5.src.rpm | SHA-256: dd3e0a66a287220c807f14f311076334c0c0bc8bca75c5ba37e22d52a78e0a25 |
x86_64 | |
bash-3.2-21.el5.x86_64.rpm | SHA-256: bf59333302ff33ed4aa684f4aabc19d7d9c5f69fad20a0c8eb14f91cb2414b43 |
i386 | |
bash-3.2-21.el5.i386.rpm | SHA-256: 7c76ea3952d6e64627d93b62751252d6398c611332ebf853203cdc2e5e8118bf |
Red Hat Enterprise Linux Desktop 5
SRPM | |
---|---|
bash-3.2-21.el5.src.rpm | SHA-256: dd3e0a66a287220c807f14f311076334c0c0bc8bca75c5ba37e22d52a78e0a25 |
x86_64 | |
bash-3.2-21.el5.x86_64.rpm | SHA-256: bf59333302ff33ed4aa684f4aabc19d7d9c5f69fad20a0c8eb14f91cb2414b43 |
i386 | |
bash-3.2-21.el5.i386.rpm | SHA-256: 7c76ea3952d6e64627d93b62751252d6398c611332ebf853203cdc2e5e8118bf |
Red Hat Enterprise Linux for IBM z Systems 5
SRPM | |
---|---|
bash-3.2-21.el5.src.rpm | SHA-256: dd3e0a66a287220c807f14f311076334c0c0bc8bca75c5ba37e22d52a78e0a25 |
s390x | |
bash-3.2-21.el5.s390x.rpm | SHA-256: 3cf19207d34e95d43c01f401b7421577d28224cec916d82b2141aac0d5ec79c3 |
Red Hat Enterprise Linux for Power, big endian 5
SRPM | |
---|---|
bash-3.2-21.el5.src.rpm | SHA-256: dd3e0a66a287220c807f14f311076334c0c0bc8bca75c5ba37e22d52a78e0a25 |
ppc | |
bash-3.2-21.el5.ppc.rpm | SHA-256: 146b32b72799d2864ec577b293de6ed1743acfe98ede71dd68bad69e2d6c997e |
Red Hat Enterprise Linux Server from RHUI 5
SRPM | |
---|---|
bash-3.2-21.el5.src.rpm | SHA-256: dd3e0a66a287220c807f14f311076334c0c0bc8bca75c5ba37e22d52a78e0a25 |
x86_64 | |
bash-3.2-21.el5.x86_64.rpm | SHA-256: bf59333302ff33ed4aa684f4aabc19d7d9c5f69fad20a0c8eb14f91cb2414b43 |
i386 | |
bash-3.2-21.el5.i386.rpm | SHA-256: 7c76ea3952d6e64627d93b62751252d6398c611332ebf853203cdc2e5e8118bf |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.