Security Advisory Important: bash Shift_JIS security update

Advisory: RHSA-2014:1865-1
Type: Security Advisory
Severity: Important
Issued on: 2014-11-17
Last updated on: 2014-11-17
Affected Products: Red Hat Enterprise S-JIS Service
CVEs (cve.mitre.org): CVE-2014-7169
CVE-2014-7186
CVE-2014-7187

Details

Updated bash Shift_JIS packages that fix one security issue are now
available for Red Hat Enterprise Linux 5.9 Extended Update Support.

Red Hat Product Security has rated this update as having Important security
impact. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available from the CVE link in the
References section.

The GNU Bourne Again shell (Bash) is a shell and command language
interpreter compatible with the Bourne shell (sh). Bash is the default
shell for Red Hat Enterprise Linux.

Shift_JIS, also known as "SJIS", is a character encoding for the Japanese
language. This package provides bash support for the Shift_JIS encoding.

It was found that the fix for CVE-2014-6271 was incomplete, and Bash still
allowed certain characters to be injected into other environments via
specially crafted environment variables. An attacker could potentially use
this flaw to override or bypass environment restrictions to execute shell
commands. Certain services and applications allow remote unauthenticated
attackers to provide environment variables, allowing them to exploit this
issue. (CVE-2014-7169)

Applications which directly create bash functions as environment variables
need to be made aware of changes to the way names are handled by this
update. Note that certain services, screen sessions, and tmux sessions may
need to be restarted, and affected interactive users may need to re-login.
Installing these updated packages without restarting services will address
the vulnerability, but functionality may be impacted until affected
services are restarted. For more information see the Knowledgebase article
at https://access.redhat.com/articles/1200223

Note: Docker users are advised to use "yum update" within their containers,
and to commit the resulting changes.

For additional information on CVE-2014-6271 and CVE-2014-7169, refer to the
aforementioned Knowledgebase article.

All users who require Shift_JIS encoding support with Bash built-in
functions are advised to upgrade to these updated packages, which contain a
backported patch to correct this issue.


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

Updated packages

Red Hat Enterprise S-JIS Service

SRPMS:
bash-3.2-32.el5_9.3.sjis.1.src.rpm     MD5: 2b5608b1497b519fb2e75d8813f14467
SHA-256: c150bedfacbf95f896ba41da7075d8bee28957fbebd7d0cf5e03b44f7da407cd
 
IA-32:
bash-3.2-32.el5_9.3.sjis.1.i386.rpm     MD5: 0ab5b8f576054f7895c8ba1492020ca4
SHA-256: 0b61a39b24e789125459be9914eedca7bd51d1f36ec20bc83c801709fda3a8a1
bash-debuginfo-3.2-32.el5_9.3.sjis.1.i386.rpm     MD5: 380bc049d9f6ac71edbc52f972c5547f
SHA-256: 585260c3c3077f7d0e67a0b493e66e0b1e98ad60704ea140cd63aaf191255433
 
IA-64:
bash-3.2-32.el5_9.3.sjis.1.i386.rpm     MD5: 0ab5b8f576054f7895c8ba1492020ca4
SHA-256: 0b61a39b24e789125459be9914eedca7bd51d1f36ec20bc83c801709fda3a8a1
bash-3.2-32.el5_9.3.sjis.1.ia64.rpm     MD5: f87598c1638908e32610af546a5b48f3
SHA-256: 5b50de612353d47f2654305487af079b41dad00dfc0943b8be92116df9746853
bash-debuginfo-3.2-32.el5_9.3.sjis.1.i386.rpm     MD5: 380bc049d9f6ac71edbc52f972c5547f
SHA-256: 585260c3c3077f7d0e67a0b493e66e0b1e98ad60704ea140cd63aaf191255433
bash-debuginfo-3.2-32.el5_9.3.sjis.1.ia64.rpm     MD5: 6b57cacd056eb5cb4907d1139ad737f5
SHA-256: 397818a8c7c2fd7ae7b1f89518bca98ab5f6d722c2531a85a089920fbd2b3483
 
x86_64:
bash-3.2-32.el5_9.3.sjis.1.x86_64.rpm     MD5: 363d114e441bb7eb3382660b4e5ae0f5
SHA-256: bf63affcf47e78b65cacfb039280a408ee83c08a9ed0a082e903265a64babcdb
bash-debuginfo-3.2-32.el5_9.3.sjis.1.x86_64.rpm     MD5: a3288a561956f44b829512c5f6fedb53
SHA-256: 0bfe42409529333c9f1e3528fe1a17adba035bf7c5e5f5ce4291ac4567ce9f7c
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

1146319 - CVE-2014-7169 bash: code execution via specially-crafted environment (Incomplete fix for CVE-2014-6271)


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

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