Explore top 10 tips to secure your open-source projects now. Read More

×
Alerts This Week
Warning Icon 1 569
Alerts This Week
Warning Icon 1 569

Red Hat: 2011:0261-01 Low: Bash Local Attack Mitigation

red hat
Calendar Grey February 16, 2011
Scroller Redhat
Tackling a minor bash vulnerability and patch release in Red Hat Enterprise Linux 4 to fortify system integrity.
Updated bash packages that fix one security issue and several bugs are now available for Red Hat Enterprise Linux 4

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

Summary

Bash (Bourne-again shell) is the default shell for Red Hat Enterprise Linux.
It was found that certain scripts bundled with the Bash documentation created temporary files in an insecure way. A malicious, local user could use this flaw to conduct a symbolic link attack, allowing them to overwrite the contents of arbitrary files accessible to the victim running the scripts. (CVE-2008-5374)
This update also fixes the following bugs:
* If a child process's PID was the same as the PID of a previously ended child process, Bash did not wait for that child process. In some cases this caused "Resource temporarily unavailable" errors. With this update, Bash recycles PIDs and waits for processes with recycled PIDs. (BZ#521134)
* Bash's built-in "read" command had a memory leak when "read" failed due to no input (pipe for stdin). With this update, the memory is correctly freed. (BZ#537029)
* Bash did not correctly check for a valid multi-byte string when setting the IFS value, causing Bash to crash. With this update, Bash checks the multi-byte string and no longer crashes. (BZ#539536)
* Bash incorrectly set locale settings when using the built-in "export" command and setting the locale on the same line (for example, with "LC_ALL=C export LC_ALL"). With this update, Bash correctly sets locale settings. (BZ#539538)
All bash users should upgrade to these updated packages, which contain backported patches to correct these issues.

References

https://access.redhat.com/security/cve/CVE-2008-5374 https://access.redhat.com/security/updates/classification#low

Package List

Red Hat Enterprise Linux AS version 4:
Source:
i386: bash-3.0-27.el4.i386.rpm bash-debuginfo-3.0-27.el4.i386.rpm
ia64: bash-3.0-27.el4.i386.rpm bash-3.0-27.el4.ia64.rpm bash-debuginfo-3.0-27.el4.i386.rpm bash-debuginfo-3.0-27.el4.ia64.rpm
ppc: bash-3.0-27.el4.ppc.rpm bash-debuginfo-3.0-27.el4.ppc.rpm
s390: bash-3.0-27.el4.s390.rpm bash-debuginfo-3.0-27.el4.s390.rpm
s390x: bash-3.0-27.el4.s390x.rpm bash-debuginfo-3.0-27.el4.s390x.rpm
x86_64: bash-3.0-27.el4.x86_64.rpm bash-debuginfo-3.0-27.el4.x86_64.rpm
Red Hat Enterprise Linux Desktop version 4:
Source:
i386: bash-3.0-27.el4.i386.rpm bash-debuginfo-3.0-27.el4.i386.rpm
x86_64: bash-3.0-27.el4.x86_64.rpm bash-debuginfo-3.0-27.el4.x86_64.rpm
Red Hat Enterprise Linux ES version 4:
Source:
i386: bash-3.0-27.el4.i386.rpm bash-debuginfo-3.0-27.el4.i386.rpm
ia64: bash-3.0-27.el4.i386.rpm bash-3.0-27.el4.ia64.rpm bash-debuginfo-3.0-27.el4.i386.rpm bash-debuginfo-3.0-27.el4.ia64.rpm
x86_64: bash-3.0-27.el4.x86_64.rpm bash-debuginfo-3.0-27.el4.x86_64.rpm
Red Hat Enterprise Linux WS version 4:
Source:
i386: bash-3.0-27.el4.i386.rpm bash-debuginfo-3.0-27.el4.i386.rpm
ia64: bash-3.0-27.el4.i386.rpm bash-3.0-27.el4.ia64.rpm bash-debuginfo-3.0-27.el4.i386.rpm bash-debuginfo-3.0-27.el4.ia64.rpm
x86_64: bash-3.0-27.el4.x86_64.rpm

Read the Full Advisory


Severity
low
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2011:0261-01
Product: Red Hat Enterprise Linux
Issue date: 2011-02-16

Topic

Updated bash packages that fix one security issue and several bugs are nowavailable for Red Hat Enterprise Linux 4.The Red Hat Security Response Team has rated this update as having lowsecurity impact. A Common Vulnerability Scoring System (CVSS) base score,which gives a detailed severity rating, is available from the CVE link inthe References section.

Relevant Releases Architectures

Red Hat Enterprise Linux AS version 4 - i386, ia64, ppc, s390, s390x, x86_64

Red Hat Enterprise Linux Desktop version 4 - i386, x86_64

Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64

Red Hat Enterprise Linux WS version 4 - i386, ia64, x86_64

Bugs Fixed

475474 - CVE-2008-5374 bash: Insecure temporary file use in aliasconv.sh, aliasconv.bash, cshtobash (symlink attack)

521134 - Bash doesn't wait for backgrounded process if its PID is recycled

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.