- Issued:
- 2011-05-19
- Updated:
- 2011-05-19
RHBA-2011:0580 - Bug Fix Advisory
Synopsis
mksh bug fix and enhancement update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
An updated mksh package that fixes three bugs and adds one enhancement is now
available for Red Hat Enterprise Linux 6.
Description
The mksh package provides the MirBSD version of the Korn Shell which implements
the ksh-88 programming language for both interactive and shell script use.
This update fixes the following bugs:
- Previously, mksh did not handle trace output correctly. Due to this problem,
mksh aborted unexpectedly when the tracing was enabled and a long string was to
be reported, This update improves the long trace output handling. Now, long
trace output is successfully printed without interruption. (BZ#616771)
- Previously, mksh did not handle aliases that contained aliases correctly. Due
to this problem, mksh aborted when double aliases were used. This update
corrects the alias handling code. Double aliases are handled as expected.
(BZ#616777)
- Previously, bad substitution could abort mksh unexpectedly because of a
conflict between acceptable code for ksh-88 and ksh-93. This update recognizes
both code types and prints errors as expected. (BZ#618274)
This update also adds the following enhancement:
- Previously, users had to change the shebang in their ksh-88 scripts or port
their scripts to ksh-93. This update adds the "alternatives" switching method
that allows to switch between ksh-93 provided by the ksh package and ksh-88
provided by the mksh package for /bin/ksh. Now, users can apply their scripts
without modification or porting them to ksh-93 one by one.
(BZ#659668)
All users of mksh are advised to upgrade to this updated package, which fixes
these bugs and adds this enhancement.
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/kb/docs/DOC-11259/
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 Server - Extended Life Cycle Support 6 i386
- 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 (for IBM z Systems) 6 s390x
- Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support 6 x86_64
Fixes
- BZ - 616771 - set -x can crash mksh
- BZ - 616777 - double alias can crash mksh sometimes
- BZ - 618274 - bad susbstitution can crash mksh
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 6
SRPM | |
---|---|
mksh-39-5.el6.src.rpm | SHA-256: 3ece3f15972167f51e10bcef04c74425e96b1d34b8008de24d807b7a136fdd76 |
x86_64 | |
mksh-39-5.el6.x86_64.rpm | SHA-256: bbf5058d5749863daf83aa990859ed9089fff2606dc4956009d04a11a16344cd |
mksh-debuginfo-39-5.el6.x86_64.rpm | SHA-256: 81a6f112ad6d79adb4282f1ad5b5bef6a498672bfc6a85716e79e472d41879a7 |
i386 | |
mksh-39-5.el6.i686.rpm | SHA-256: 6cff0d3cba4f2b0c2980c2566ab496d08f529287e3496086740d5018c37de78d |
mksh-debuginfo-39-5.el6.i686.rpm | SHA-256: 14d1d506cdf408e9abfe490fd2357dba05723a511a28ca4c78e562ef3ccfb172 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support 6
SRPM | |
---|---|
mksh-39-5.el6.src.rpm | SHA-256: 3ece3f15972167f51e10bcef04c74425e96b1d34b8008de24d807b7a136fdd76 |
x86_64 | |
mksh-39-5.el6.x86_64.rpm | SHA-256: bbf5058d5749863daf83aa990859ed9089fff2606dc4956009d04a11a16344cd |
mksh-debuginfo-39-5.el6.x86_64.rpm | SHA-256: 81a6f112ad6d79adb4282f1ad5b5bef6a498672bfc6a85716e79e472d41879a7 |
i386 | |
mksh-39-5.el6.i686.rpm | SHA-256: 6cff0d3cba4f2b0c2980c2566ab496d08f529287e3496086740d5018c37de78d |
mksh-debuginfo-39-5.el6.i686.rpm | SHA-256: 14d1d506cdf408e9abfe490fd2357dba05723a511a28ca4c78e562ef3ccfb172 |
Red Hat Enterprise Linux Workstation 6
SRPM | |
---|---|
mksh-39-5.el6.src.rpm | SHA-256: 3ece3f15972167f51e10bcef04c74425e96b1d34b8008de24d807b7a136fdd76 |
x86_64 | |
mksh-39-5.el6.x86_64.rpm | SHA-256: bbf5058d5749863daf83aa990859ed9089fff2606dc4956009d04a11a16344cd |
mksh-debuginfo-39-5.el6.x86_64.rpm | SHA-256: 81a6f112ad6d79adb4282f1ad5b5bef6a498672bfc6a85716e79e472d41879a7 |
i386 | |
mksh-39-5.el6.i686.rpm | SHA-256: 6cff0d3cba4f2b0c2980c2566ab496d08f529287e3496086740d5018c37de78d |
mksh-debuginfo-39-5.el6.i686.rpm | SHA-256: 14d1d506cdf408e9abfe490fd2357dba05723a511a28ca4c78e562ef3ccfb172 |
Red Hat Enterprise Linux Desktop 6
SRPM | |
---|---|
mksh-39-5.el6.src.rpm | SHA-256: 3ece3f15972167f51e10bcef04c74425e96b1d34b8008de24d807b7a136fdd76 |
x86_64 | |
mksh-39-5.el6.x86_64.rpm | SHA-256: bbf5058d5749863daf83aa990859ed9089fff2606dc4956009d04a11a16344cd |
mksh-debuginfo-39-5.el6.x86_64.rpm | SHA-256: 81a6f112ad6d79adb4282f1ad5b5bef6a498672bfc6a85716e79e472d41879a7 |
i386 | |
mksh-39-5.el6.i686.rpm | SHA-256: 6cff0d3cba4f2b0c2980c2566ab496d08f529287e3496086740d5018c37de78d |
mksh-debuginfo-39-5.el6.i686.rpm | SHA-256: 14d1d506cdf408e9abfe490fd2357dba05723a511a28ca4c78e562ef3ccfb172 |
Red Hat Enterprise Linux for IBM z Systems 6
SRPM | |
---|---|
mksh-39-5.el6.src.rpm | SHA-256: 3ece3f15972167f51e10bcef04c74425e96b1d34b8008de24d807b7a136fdd76 |
s390x | |
mksh-39-5.el6.s390x.rpm | SHA-256: ac7bda272391be2b42aa2af9e2001e894b04171ecc8c4640720c98edb15120d6 |
mksh-debuginfo-39-5.el6.s390x.rpm | SHA-256: 77684fdc9ce629067f2f4a841abe9e92e993e374e150284afec05945ee1dff5a |
Red Hat Enterprise Linux for Power, big endian 6
SRPM | |
---|---|
mksh-39-5.el6.src.rpm | SHA-256: 3ece3f15972167f51e10bcef04c74425e96b1d34b8008de24d807b7a136fdd76 |
ppc64 | |
mksh-39-5.el6.ppc64.rpm | SHA-256: 3a45469c6724b76cc52956e7d06357ee2b53750ec8e9342180d947d4dcdba3f7 |
mksh-debuginfo-39-5.el6.ppc64.rpm | SHA-256: 3867ec10dcffc3ef5834f806591ef6c7132d9ec2ae577e52edcf6c740c920ec7 |
Red Hat Enterprise Linux for Scientific Computing 6
SRPM | |
---|---|
mksh-39-5.el6.src.rpm | SHA-256: 3ece3f15972167f51e10bcef04c74425e96b1d34b8008de24d807b7a136fdd76 |
x86_64 | |
mksh-39-5.el6.x86_64.rpm | SHA-256: bbf5058d5749863daf83aa990859ed9089fff2606dc4956009d04a11a16344cd |
mksh-debuginfo-39-5.el6.x86_64.rpm | SHA-256: 81a6f112ad6d79adb4282f1ad5b5bef6a498672bfc6a85716e79e472d41879a7 |
Red Hat Enterprise Linux Server from RHUI 6
SRPM | |
---|---|
mksh-39-5.el6.src.rpm | SHA-256: 3ece3f15972167f51e10bcef04c74425e96b1d34b8008de24d807b7a136fdd76 |
x86_64 | |
mksh-39-5.el6.x86_64.rpm | SHA-256: bbf5058d5749863daf83aa990859ed9089fff2606dc4956009d04a11a16344cd |
mksh-debuginfo-39-5.el6.x86_64.rpm | SHA-256: 81a6f112ad6d79adb4282f1ad5b5bef6a498672bfc6a85716e79e472d41879a7 |
i386 | |
mksh-39-5.el6.i686.rpm | SHA-256: 6cff0d3cba4f2b0c2980c2566ab496d08f529287e3496086740d5018c37de78d |
mksh-debuginfo-39-5.el6.i686.rpm | SHA-256: 14d1d506cdf408e9abfe490fd2357dba05723a511a28ca4c78e562ef3ccfb172 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6
SRPM | |
---|---|
mksh-39-5.el6.src.rpm | SHA-256: 3ece3f15972167f51e10bcef04c74425e96b1d34b8008de24d807b7a136fdd76 |
s390x | |
mksh-39-5.el6.s390x.rpm | SHA-256: ac7bda272391be2b42aa2af9e2001e894b04171ecc8c4640720c98edb15120d6 |
mksh-debuginfo-39-5.el6.s390x.rpm | SHA-256: 77684fdc9ce629067f2f4a841abe9e92e993e374e150284afec05945ee1dff5a |
Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support 6
SRPM | |
---|---|
mksh-39-5.el6.src.rpm | SHA-256: 3ece3f15972167f51e10bcef04c74425e96b1d34b8008de24d807b7a136fdd76 |
x86_64 | |
mksh-39-5.el6.x86_64.rpm | SHA-256: bbf5058d5749863daf83aa990859ed9089fff2606dc4956009d04a11a16344cd |
mksh-debuginfo-39-5.el6.x86_64.rpm | SHA-256: 81a6f112ad6d79adb4282f1ad5b5bef6a498672bfc6a85716e79e472d41879a7 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.