Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Lightspeed
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Lightspeed
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHBA-2011:0580 - Bug Fix Advisory
Issued:
2011-05-19
Updated:
2011-05-19

RHBA-2011:0580 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

mksh bug fix and enhancement update

Type/Severity

Bug Fix Advisory

Red Hat Lightspeed patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

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 - 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 - 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)

Note: More recent versions of these packages may be available. Click a package name for more details.

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-39-5.el6.x86_64.rpm SHA-256: bbf5058d5749863daf83aa990859ed9089fff2606dc4956009d04a11a16344cd
mksh-debuginfo-39-5.el6.x86_64.rpm SHA-256: 81a6f112ad6d79adb4282f1ad5b5bef6a498672bfc6a85716e79e472d41879a7
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 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 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 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 - Extended Life Cycle Support Extension 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 Extension (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

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2026 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility