- Issued:
- 2014-10-13
- Updated:
- 2014-10-13
RHBA-2014:1503 - 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
Updated bash packages that fix several bugs are now available for Red Hat
Enterprise Linux 6.
Description
The bash packages provide the Bash (Bourne-again shell) shell, which is the
default shell for Red Hat Enterprise Linux.
This update fixes the following bugs:
- Under certain circumstances, a file descriptor leak occurred in nested Bash
functions. This bug has been fixed and file descriptors are no longer leaked in
the described case. (BZ#948207)
- Due to a bug in the tty driver, an ioctl call could return the "-EINTR" error
code when the "read" command was interrupted by a signal, such as SIGCHLD. As a
consequence, the subsequent "read" call caused the Bash shell to abort with a
"double free or corruption (out)" error message. The applied patch corrects the
tty driver to use the "-ERESTARTSYS" error code so the system call is restarted
if needed. As a result, Bash no longer crashes in this scenario. (BZ#951171)
- When the HISTFILESIZE variable was set to a value larger than zero, the
HISTSIZE variable was set to zero as well. If the .bash_history file had time
stamps enabled and was not empty, executing the "su - " command caused Bash to
become unresponsive. This bug has been fixed, and Bash no longer hangs in the
aforementioned scenario. (BZ#986095)
- Previously, Bash did not process quote characters correctly when using
here-strings with multi-line input in a function declaration. Consequently, the
declaration was corrupted, which affected copying such functions, or
transferring them to another shell. This bug has been fixed, and here-strings
with multi-line input are now processed correctly. (BZ#1007926)
- When processing larger associative arrays inside Bash scripts, a memory leak
occurred. This bug has been fixed, and Bash no longer leaks memory when working
with associative arrays. (BZ#1010164)
- If a command substitution enclosed in double-quote characters contained a
double-quoted string, Bash performed brace expansion on the command before
performing command substitution. Consequently, the command created different
output than expected. The bug has been fixed, and command substitution now
precedes brace expansion in the described case. (BZ#1012015)
- After editing a command in vi visual mode, Bash echoed every substituted
command, which produced a lengthy shell output when editing loops. This behavior
has been changed and Bash now only echoes the original string in the described
scenario. (BZ#1102803)
Users of bash are advised to upgrade to these updated packages, which fix these
bugs.
Solution
Before applying this update, make sure all previously released errata
relevant to your system have been applied.
This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/articles/11258
Affected Products
- Red Hat Enterprise Linux Server 6 x86_64
- Red Hat Enterprise Linux Server 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 x86_64
- Red Hat Enterprise Linux Workstation 6 x86_64
- Red Hat Enterprise Linux Workstation 6 i386
- Red Hat Enterprise Linux Desktop 6 x86_64
- Red Hat Enterprise Linux Desktop 6 i386
- Red Hat Enterprise Linux for IBM z Systems 6 s390x
- Red Hat Enterprise Linux for Power, big endian 6 ppc64
- Red Hat Enterprise Linux for Scientific Computing 6 x86_64
- Red Hat Enterprise Linux Server from RHUI 6 x86_64
- Red Hat Enterprise Linux Server from RHUI 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6 s390x
- Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 x86_64
- Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6 s390x
Fixes
- BZ - 986095 - bash bug, invalid array index of the_history
- BZ - 1007926 - Bash outputs functions with multi-line here-strings incorrectly
- BZ - 1012015 - Bash performs brace expansion on commands with double-quoted strings within a double-quoted command-substitution
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 6
SRPM | |
---|---|
bash-4.1.2-29.el6.src.rpm | SHA-256: ff8b891133209ed2ac07605de0f366c1da9784b63b1a0f071c009ae258bece0f |
x86_64 | |
bash-4.1.2-29.el6.x86_64.rpm | SHA-256: 75cc14800b4fec10b56fc56de823c9e528b917a3f4bf28eb487f1f4cd4e3da85 |
bash-4.1.2-29.el6.x86_64.rpm | SHA-256: 75cc14800b4fec10b56fc56de823c9e528b917a3f4bf28eb487f1f4cd4e3da85 |
bash-debuginfo-4.1.2-29.el6.x86_64.rpm | SHA-256: 9ef97a7f2805aa31ce583418f8f4717bbbdbc5c1cd5374bf2dcdc7fb5f0273b1 |
bash-debuginfo-4.1.2-29.el6.x86_64.rpm | SHA-256: 9ef97a7f2805aa31ce583418f8f4717bbbdbc5c1cd5374bf2dcdc7fb5f0273b1 |
bash-debuginfo-4.1.2-29.el6.x86_64.rpm | SHA-256: 9ef97a7f2805aa31ce583418f8f4717bbbdbc5c1cd5374bf2dcdc7fb5f0273b1 |
bash-doc-4.1.2-29.el6.x86_64.rpm | SHA-256: e3531bc61726689b405954b32a1614e13e63bf56e60d072ca256943627f675f6 |
bash-doc-4.1.2-29.el6.x86_64.rpm | SHA-256: e3531bc61726689b405954b32a1614e13e63bf56e60d072ca256943627f675f6 |
i386 | |
bash-4.1.2-29.el6.i686.rpm | SHA-256: a9b4f10752f6bedf698cc6e220e0383c6b490a46243be404c545076c695a353e |
bash-debuginfo-4.1.2-29.el6.i686.rpm | SHA-256: c0d88c0a64f4cc094ead438b956653702d3a77a0e7682b68957f232c5c7ac55e |
bash-debuginfo-4.1.2-29.el6.i686.rpm | SHA-256: c0d88c0a64f4cc094ead438b956653702d3a77a0e7682b68957f232c5c7ac55e |
bash-doc-4.1.2-29.el6.i686.rpm | SHA-256: 56241f0f01bbc06830b7aa2302dae5bc6ff7326e8e1c3e31f981301dfd9baabb |
Red Hat Enterprise Linux Server - Extended Life Cycle Support 6
SRPM | |
---|---|
bash-4.1.2-29.el6.src.rpm | SHA-256: ff8b891133209ed2ac07605de0f366c1da9784b63b1a0f071c009ae258bece0f |
x86_64 | |
bash-4.1.2-29.el6.x86_64.rpm | SHA-256: 75cc14800b4fec10b56fc56de823c9e528b917a3f4bf28eb487f1f4cd4e3da85 |
bash-debuginfo-4.1.2-29.el6.x86_64.rpm | SHA-256: 9ef97a7f2805aa31ce583418f8f4717bbbdbc5c1cd5374bf2dcdc7fb5f0273b1 |
bash-debuginfo-4.1.2-29.el6.x86_64.rpm | SHA-256: 9ef97a7f2805aa31ce583418f8f4717bbbdbc5c1cd5374bf2dcdc7fb5f0273b1 |
bash-doc-4.1.2-29.el6.x86_64.rpm | SHA-256: e3531bc61726689b405954b32a1614e13e63bf56e60d072ca256943627f675f6 |
i386 | |
bash-4.1.2-29.el6.i686.rpm | SHA-256: a9b4f10752f6bedf698cc6e220e0383c6b490a46243be404c545076c695a353e |
bash-debuginfo-4.1.2-29.el6.i686.rpm | SHA-256: c0d88c0a64f4cc094ead438b956653702d3a77a0e7682b68957f232c5c7ac55e |
bash-debuginfo-4.1.2-29.el6.i686.rpm | SHA-256: c0d88c0a64f4cc094ead438b956653702d3a77a0e7682b68957f232c5c7ac55e |
bash-doc-4.1.2-29.el6.i686.rpm | SHA-256: 56241f0f01bbc06830b7aa2302dae5bc6ff7326e8e1c3e31f981301dfd9baabb |
Red Hat Enterprise Linux Workstation 6
SRPM | |
---|---|
bash-4.1.2-29.el6.src.rpm | SHA-256: ff8b891133209ed2ac07605de0f366c1da9784b63b1a0f071c009ae258bece0f |
x86_64 | |
bash-4.1.2-29.el6.x86_64.rpm | SHA-256: 75cc14800b4fec10b56fc56de823c9e528b917a3f4bf28eb487f1f4cd4e3da85 |
bash-debuginfo-4.1.2-29.el6.x86_64.rpm | SHA-256: 9ef97a7f2805aa31ce583418f8f4717bbbdbc5c1cd5374bf2dcdc7fb5f0273b1 |
bash-debuginfo-4.1.2-29.el6.x86_64.rpm | SHA-256: 9ef97a7f2805aa31ce583418f8f4717bbbdbc5c1cd5374bf2dcdc7fb5f0273b1 |
bash-doc-4.1.2-29.el6.x86_64.rpm | SHA-256: e3531bc61726689b405954b32a1614e13e63bf56e60d072ca256943627f675f6 |
i386 | |
bash-4.1.2-29.el6.i686.rpm | SHA-256: a9b4f10752f6bedf698cc6e220e0383c6b490a46243be404c545076c695a353e |
bash-debuginfo-4.1.2-29.el6.i686.rpm | SHA-256: c0d88c0a64f4cc094ead438b956653702d3a77a0e7682b68957f232c5c7ac55e |
bash-debuginfo-4.1.2-29.el6.i686.rpm | SHA-256: c0d88c0a64f4cc094ead438b956653702d3a77a0e7682b68957f232c5c7ac55e |
bash-doc-4.1.2-29.el6.i686.rpm | SHA-256: 56241f0f01bbc06830b7aa2302dae5bc6ff7326e8e1c3e31f981301dfd9baabb |
Red Hat Enterprise Linux Desktop 6
SRPM | |
---|---|
bash-4.1.2-29.el6.src.rpm | SHA-256: ff8b891133209ed2ac07605de0f366c1da9784b63b1a0f071c009ae258bece0f |
x86_64 | |
bash-4.1.2-29.el6.x86_64.rpm | SHA-256: 75cc14800b4fec10b56fc56de823c9e528b917a3f4bf28eb487f1f4cd4e3da85 |
bash-debuginfo-4.1.2-29.el6.x86_64.rpm | SHA-256: 9ef97a7f2805aa31ce583418f8f4717bbbdbc5c1cd5374bf2dcdc7fb5f0273b1 |
bash-debuginfo-4.1.2-29.el6.x86_64.rpm | SHA-256: 9ef97a7f2805aa31ce583418f8f4717bbbdbc5c1cd5374bf2dcdc7fb5f0273b1 |
bash-doc-4.1.2-29.el6.x86_64.rpm | SHA-256: e3531bc61726689b405954b32a1614e13e63bf56e60d072ca256943627f675f6 |
i386 | |
bash-4.1.2-29.el6.i686.rpm | SHA-256: a9b4f10752f6bedf698cc6e220e0383c6b490a46243be404c545076c695a353e |
bash-debuginfo-4.1.2-29.el6.i686.rpm | SHA-256: c0d88c0a64f4cc094ead438b956653702d3a77a0e7682b68957f232c5c7ac55e |
bash-debuginfo-4.1.2-29.el6.i686.rpm | SHA-256: c0d88c0a64f4cc094ead438b956653702d3a77a0e7682b68957f232c5c7ac55e |
bash-doc-4.1.2-29.el6.i686.rpm | SHA-256: 56241f0f01bbc06830b7aa2302dae5bc6ff7326e8e1c3e31f981301dfd9baabb |
Red Hat Enterprise Linux for IBM z Systems 6
SRPM | |
---|---|
bash-4.1.2-29.el6.src.rpm | SHA-256: ff8b891133209ed2ac07605de0f366c1da9784b63b1a0f071c009ae258bece0f |
s390x | |
bash-4.1.2-29.el6.s390x.rpm | SHA-256: 4ba780a1e2c5e0d6d3f9aadeaa16274a1f1b445fc32e52a5767d6daccf56dfd0 |
bash-debuginfo-4.1.2-29.el6.s390x.rpm | SHA-256: 5ef15de9d800964162da754ac7b198cde4fe9970a8cef8c4d5231c97a3938cae |
bash-debuginfo-4.1.2-29.el6.s390x.rpm | SHA-256: 5ef15de9d800964162da754ac7b198cde4fe9970a8cef8c4d5231c97a3938cae |
bash-doc-4.1.2-29.el6.s390x.rpm | SHA-256: 449f296d75489e283f539235703eab869d98cdb6569d20735f54c6bb596b8039 |
Red Hat Enterprise Linux for Power, big endian 6
SRPM | |
---|---|
bash-4.1.2-29.el6.src.rpm | SHA-256: ff8b891133209ed2ac07605de0f366c1da9784b63b1a0f071c009ae258bece0f |
ppc64 | |
bash-4.1.2-29.el6.ppc64.rpm | SHA-256: 6b33c1982eb8d0f70fa84a72ecb0daf916955ca8db94695d1100ae7005100619 |
bash-debuginfo-4.1.2-29.el6.ppc64.rpm | SHA-256: 6f871cb1f499b3fa1d6aa9cd4c1ffd2173c88656d4982804547a0f2fbbf1fbde |
bash-debuginfo-4.1.2-29.el6.ppc64.rpm | SHA-256: 6f871cb1f499b3fa1d6aa9cd4c1ffd2173c88656d4982804547a0f2fbbf1fbde |
bash-doc-4.1.2-29.el6.ppc64.rpm | SHA-256: 78550c844e03befc6c407f148731ad7bf2ca111ef02f7dfb0eadeb1db716ac80 |
Red Hat Enterprise Linux for Scientific Computing 6
SRPM | |
---|---|
bash-4.1.2-29.el6.src.rpm | SHA-256: ff8b891133209ed2ac07605de0f366c1da9784b63b1a0f071c009ae258bece0f |
x86_64 | |
bash-4.1.2-29.el6.x86_64.rpm | SHA-256: 75cc14800b4fec10b56fc56de823c9e528b917a3f4bf28eb487f1f4cd4e3da85 |
bash-debuginfo-4.1.2-29.el6.x86_64.rpm | SHA-256: 9ef97a7f2805aa31ce583418f8f4717bbbdbc5c1cd5374bf2dcdc7fb5f0273b1 |
bash-debuginfo-4.1.2-29.el6.x86_64.rpm | SHA-256: 9ef97a7f2805aa31ce583418f8f4717bbbdbc5c1cd5374bf2dcdc7fb5f0273b1 |
bash-doc-4.1.2-29.el6.x86_64.rpm | SHA-256: e3531bc61726689b405954b32a1614e13e63bf56e60d072ca256943627f675f6 |
Red Hat Enterprise Linux Server from RHUI 6
SRPM | |
---|---|
bash-4.1.2-29.el6.src.rpm | SHA-256: ff8b891133209ed2ac07605de0f366c1da9784b63b1a0f071c009ae258bece0f |
x86_64 | |
bash-4.1.2-29.el6.x86_64.rpm | SHA-256: 75cc14800b4fec10b56fc56de823c9e528b917a3f4bf28eb487f1f4cd4e3da85 |
bash-debuginfo-4.1.2-29.el6.x86_64.rpm | SHA-256: 9ef97a7f2805aa31ce583418f8f4717bbbdbc5c1cd5374bf2dcdc7fb5f0273b1 |
bash-debuginfo-4.1.2-29.el6.x86_64.rpm | SHA-256: 9ef97a7f2805aa31ce583418f8f4717bbbdbc5c1cd5374bf2dcdc7fb5f0273b1 |
bash-doc-4.1.2-29.el6.x86_64.rpm | SHA-256: e3531bc61726689b405954b32a1614e13e63bf56e60d072ca256943627f675f6 |
i386 | |
bash-4.1.2-29.el6.i686.rpm | SHA-256: a9b4f10752f6bedf698cc6e220e0383c6b490a46243be404c545076c695a353e |
bash-debuginfo-4.1.2-29.el6.i686.rpm | SHA-256: c0d88c0a64f4cc094ead438b956653702d3a77a0e7682b68957f232c5c7ac55e |
bash-debuginfo-4.1.2-29.el6.i686.rpm | SHA-256: c0d88c0a64f4cc094ead438b956653702d3a77a0e7682b68957f232c5c7ac55e |
bash-doc-4.1.2-29.el6.i686.rpm | SHA-256: 56241f0f01bbc06830b7aa2302dae5bc6ff7326e8e1c3e31f981301dfd9baabb |
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6
SRPM | |
---|---|
bash-4.1.2-29.el6.src.rpm | SHA-256: ff8b891133209ed2ac07605de0f366c1da9784b63b1a0f071c009ae258bece0f |
s390x | |
bash-4.1.2-29.el6.s390x.rpm | SHA-256: 4ba780a1e2c5e0d6d3f9aadeaa16274a1f1b445fc32e52a5767d6daccf56dfd0 |
bash-debuginfo-4.1.2-29.el6.s390x.rpm | SHA-256: 5ef15de9d800964162da754ac7b198cde4fe9970a8cef8c4d5231c97a3938cae |
bash-debuginfo-4.1.2-29.el6.s390x.rpm | SHA-256: 5ef15de9d800964162da754ac7b198cde4fe9970a8cef8c4d5231c97a3938cae |
bash-doc-4.1.2-29.el6.s390x.rpm | SHA-256: 449f296d75489e283f539235703eab869d98cdb6569d20735f54c6bb596b8039 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6
SRPM | |
---|---|
bash-4.1.2-29.el6.src.rpm | SHA-256: ff8b891133209ed2ac07605de0f366c1da9784b63b1a0f071c009ae258bece0f |
x86_64 | |
bash-4.1.2-29.el6.x86_64.rpm | SHA-256: 75cc14800b4fec10b56fc56de823c9e528b917a3f4bf28eb487f1f4cd4e3da85 |
bash-debuginfo-4.1.2-29.el6.x86_64.rpm | SHA-256: 9ef97a7f2805aa31ce583418f8f4717bbbdbc5c1cd5374bf2dcdc7fb5f0273b1 |
bash-debuginfo-4.1.2-29.el6.x86_64.rpm | SHA-256: 9ef97a7f2805aa31ce583418f8f4717bbbdbc5c1cd5374bf2dcdc7fb5f0273b1 |
bash-doc-4.1.2-29.el6.x86_64.rpm | SHA-256: e3531bc61726689b405954b32a1614e13e63bf56e60d072ca256943627f675f6 |
i386 | |
bash-4.1.2-29.el6.i686.rpm | SHA-256: a9b4f10752f6bedf698cc6e220e0383c6b490a46243be404c545076c695a353e |
bash-debuginfo-4.1.2-29.el6.i686.rpm | SHA-256: c0d88c0a64f4cc094ead438b956653702d3a77a0e7682b68957f232c5c7ac55e |
bash-debuginfo-4.1.2-29.el6.i686.rpm | SHA-256: c0d88c0a64f4cc094ead438b956653702d3a77a0e7682b68957f232c5c7ac55e |
bash-doc-4.1.2-29.el6.i686.rpm | SHA-256: 56241f0f01bbc06830b7aa2302dae5bc6ff7326e8e1c3e31f981301dfd9baabb |
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6
SRPM | |
---|---|
bash-4.1.2-29.el6.src.rpm | SHA-256: ff8b891133209ed2ac07605de0f366c1da9784b63b1a0f071c009ae258bece0f |
s390x | |
bash-4.1.2-29.el6.s390x.rpm | SHA-256: 4ba780a1e2c5e0d6d3f9aadeaa16274a1f1b445fc32e52a5767d6daccf56dfd0 |
bash-debuginfo-4.1.2-29.el6.s390x.rpm | SHA-256: 5ef15de9d800964162da754ac7b198cde4fe9970a8cef8c4d5231c97a3938cae |
bash-debuginfo-4.1.2-29.el6.s390x.rpm | SHA-256: 5ef15de9d800964162da754ac7b198cde4fe9970a8cef8c4d5231c97a3938cae |
bash-doc-4.1.2-29.el6.s390x.rpm | SHA-256: 449f296d75489e283f539235703eab869d98cdb6569d20735f54c6bb596b8039 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.