- Issued:
- 2014-06-26
- Updated:
- 2014-10-13
RHBA-2014:0795 - Bug Fix Advisory
Synopsis
rsh bug fix update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
Updated rsh packages that fix several bugs are now available for Red Hat
Enterprise Linux 6.
Description
The rsh packages contain programs which allow users to run commands on remote
machines, log in to other machines, copy files between machines (rsh, rlogin and
rcp), and provide an alternate method of executing remote commands (rexec). All
of these programs are run by the xinetd daemon and can be configured using the
Pluggable Authentication Modules (PAM) system and configuration files in the
/etc/xinetd.d/ directory.
This update fixes the following bugs:
- Previously, the rshd daemon performed redundant calls of the setpwent() and
endpwent() functions. As a consequence, rshd queried Network Information
Security (NIS) servers on every remote shell (rsh) access. With this update,
these redundant calls have been removed and rshd no longer contacts NIS servers
unnecessarily. (BZ#749283)
- Prior to this update, the maximum number of command line arguments for the rsh
application was not limited. However, the volume of data buffer allocated to the
arguments is always finite. Consequently, rshd terminated unexpectedly when it
attempted to allocate the buffer to commands with a vast number of arguments.
This update implements a limit for command-line arguments in rsh, and the
described rshd crash no longer occurs. (BZ#802367)
- Previously, the pam_close_session() function was not called when a remote copy
(rcp) connection completed. As a consequence, the PAM session did not terminate
correctly. With this update, pam_close_session() is called and the PAM session
terminates as intended. (BZ#1098955)
- Prior to this update, the rsh application was optimized through strict
aliasing rules, even though it is not a performance-sensitive application. As a
consequence, the GNU compiler collection (GCC) generated warning messages about
breaking the strict-aliasing rules, despite correct functionality being the
priority for rsh. With this update, strict aliasing has been disabled for rsh.
Therefore, GCC now ignores the strict aliasing rules and no longer interrupts
rsh processes with warning messages. However, this may also lead to a slight
decrease in performance. (BZ#1094360)
Users of rsh 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/site/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 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 6 x86_64
- 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 - 1094360 - Disable strict-aliasing optimization for rsh
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 6
SRPM | |
---|---|
rsh-0.17-64.el6.src.rpm | SHA-256: d6d9d5d36fc7fc171d2256846549e7ff8d55aeb66c9ea5a10b116dad891588ef |
x86_64 | |
rsh-0.17-64.el6.x86_64.rpm | SHA-256: 2fb517cafc403d65683c8bbfd8fb2eeed95cd2f221514c79e39f0600615fe79a |
rsh-0.17-64.el6.x86_64.rpm | SHA-256: 2fb517cafc403d65683c8bbfd8fb2eeed95cd2f221514c79e39f0600615fe79a |
rsh-debuginfo-0.17-64.el6.x86_64.rpm | SHA-256: 1c2ccda303b3356470123313c0dd3f38c0ba20514a02f12aa846320565c2c2f9 |
rsh-debuginfo-0.17-64.el6.x86_64.rpm | SHA-256: 1c2ccda303b3356470123313c0dd3f38c0ba20514a02f12aa846320565c2c2f9 |
rsh-server-0.17-64.el6.x86_64.rpm | SHA-256: 6c5044a9976a03500042a9d7998dbc63d6c6903a046fca65f90dd0f2d1c9f68a |
rsh-server-0.17-64.el6.x86_64.rpm | SHA-256: 6c5044a9976a03500042a9d7998dbc63d6c6903a046fca65f90dd0f2d1c9f68a |
i386 | |
rsh-0.17-64.el6.i686.rpm | SHA-256: 28bb1e40d353519e9b8ce89af00f00b91480774eb33b772c41031acd8e9dde21 |
rsh-debuginfo-0.17-64.el6.i686.rpm | SHA-256: 44d4fe6f29b21cf6384e2c9c3c4d5a3c08ccb0ce4df780b28c9a59f73d0e2137 |
rsh-server-0.17-64.el6.i686.rpm | SHA-256: 9d2c7f95551cdee14bae564879fe87fcae2a1a1becbc81fdf37e1d744e4098e2 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support 6
SRPM | |
---|---|
rsh-0.17-64.el6.src.rpm | SHA-256: d6d9d5d36fc7fc171d2256846549e7ff8d55aeb66c9ea5a10b116dad891588ef |
x86_64 | |
rsh-0.17-64.el6.x86_64.rpm | SHA-256: 2fb517cafc403d65683c8bbfd8fb2eeed95cd2f221514c79e39f0600615fe79a |
rsh-debuginfo-0.17-64.el6.x86_64.rpm | SHA-256: 1c2ccda303b3356470123313c0dd3f38c0ba20514a02f12aa846320565c2c2f9 |
rsh-server-0.17-64.el6.x86_64.rpm | SHA-256: 6c5044a9976a03500042a9d7998dbc63d6c6903a046fca65f90dd0f2d1c9f68a |
i386 | |
rsh-0.17-64.el6.i686.rpm | SHA-256: 28bb1e40d353519e9b8ce89af00f00b91480774eb33b772c41031acd8e9dde21 |
rsh-debuginfo-0.17-64.el6.i686.rpm | SHA-256: 44d4fe6f29b21cf6384e2c9c3c4d5a3c08ccb0ce4df780b28c9a59f73d0e2137 |
rsh-server-0.17-64.el6.i686.rpm | SHA-256: 9d2c7f95551cdee14bae564879fe87fcae2a1a1becbc81fdf37e1d744e4098e2 |
Red Hat Enterprise Linux Workstation 6
SRPM | |
---|---|
rsh-0.17-64.el6.src.rpm | SHA-256: d6d9d5d36fc7fc171d2256846549e7ff8d55aeb66c9ea5a10b116dad891588ef |
x86_64 | |
rsh-0.17-64.el6.x86_64.rpm | SHA-256: 2fb517cafc403d65683c8bbfd8fb2eeed95cd2f221514c79e39f0600615fe79a |
rsh-debuginfo-0.17-64.el6.x86_64.rpm | SHA-256: 1c2ccda303b3356470123313c0dd3f38c0ba20514a02f12aa846320565c2c2f9 |
rsh-server-0.17-64.el6.x86_64.rpm | SHA-256: 6c5044a9976a03500042a9d7998dbc63d6c6903a046fca65f90dd0f2d1c9f68a |
i386 | |
rsh-0.17-64.el6.i686.rpm | SHA-256: 28bb1e40d353519e9b8ce89af00f00b91480774eb33b772c41031acd8e9dde21 |
rsh-debuginfo-0.17-64.el6.i686.rpm | SHA-256: 44d4fe6f29b21cf6384e2c9c3c4d5a3c08ccb0ce4df780b28c9a59f73d0e2137 |
rsh-server-0.17-64.el6.i686.rpm | SHA-256: 9d2c7f95551cdee14bae564879fe87fcae2a1a1becbc81fdf37e1d744e4098e2 |
Red Hat Enterprise Linux Desktop 6
SRPM | |
---|---|
rsh-0.17-64.el6.src.rpm | SHA-256: d6d9d5d36fc7fc171d2256846549e7ff8d55aeb66c9ea5a10b116dad891588ef |
x86_64 | |
rsh-0.17-64.el6.x86_64.rpm | SHA-256: 2fb517cafc403d65683c8bbfd8fb2eeed95cd2f221514c79e39f0600615fe79a |
rsh-debuginfo-0.17-64.el6.x86_64.rpm | SHA-256: 1c2ccda303b3356470123313c0dd3f38c0ba20514a02f12aa846320565c2c2f9 |
rsh-server-0.17-64.el6.x86_64.rpm | SHA-256: 6c5044a9976a03500042a9d7998dbc63d6c6903a046fca65f90dd0f2d1c9f68a |
i386 | |
rsh-0.17-64.el6.i686.rpm | SHA-256: 28bb1e40d353519e9b8ce89af00f00b91480774eb33b772c41031acd8e9dde21 |
rsh-debuginfo-0.17-64.el6.i686.rpm | SHA-256: 44d4fe6f29b21cf6384e2c9c3c4d5a3c08ccb0ce4df780b28c9a59f73d0e2137 |
rsh-server-0.17-64.el6.i686.rpm | SHA-256: 9d2c7f95551cdee14bae564879fe87fcae2a1a1becbc81fdf37e1d744e4098e2 |
Red Hat Enterprise Linux for IBM z Systems 6
SRPM | |
---|---|
rsh-0.17-64.el6.src.rpm | SHA-256: d6d9d5d36fc7fc171d2256846549e7ff8d55aeb66c9ea5a10b116dad891588ef |
s390x | |
rsh-0.17-64.el6.s390x.rpm | SHA-256: 1b5870439315ba1a03a6704f97361ea2824a270ad7e6c1f2821a94cd3ffd9606 |
rsh-debuginfo-0.17-64.el6.s390x.rpm | SHA-256: 10c0e31597a023244770d4a1f26ff30db266a336d8ad173826b83777bbdab480 |
rsh-server-0.17-64.el6.s390x.rpm | SHA-256: 622e1c040474189a7a81cde591c7877c78402bc025eb71f880bcf99727e8ab80 |
Red Hat Enterprise Linux for Power, big endian 6
SRPM | |
---|---|
rsh-0.17-64.el6.src.rpm | SHA-256: d6d9d5d36fc7fc171d2256846549e7ff8d55aeb66c9ea5a10b116dad891588ef |
ppc64 | |
rsh-0.17-64.el6.ppc64.rpm | SHA-256: 4bd8f99f180851fcba498eb68be6ef2390bbdf9b066831360fb6839f2190024a |
rsh-debuginfo-0.17-64.el6.ppc64.rpm | SHA-256: 1a53ddeaca9c620b9cfce81c6486d8fde119fd70c2cfa1f5fea2866a7858432d |
rsh-server-0.17-64.el6.ppc64.rpm | SHA-256: 0b141915b61b44a8dd0860244a9117648c3234a449601b115838de6bb0f91739 |
Red Hat Enterprise Linux for Scientific Computing 6
SRPM | |
---|---|
rsh-0.17-64.el6.src.rpm | SHA-256: d6d9d5d36fc7fc171d2256846549e7ff8d55aeb66c9ea5a10b116dad891588ef |
x86_64 | |
rsh-0.17-64.el6.x86_64.rpm | SHA-256: 2fb517cafc403d65683c8bbfd8fb2eeed95cd2f221514c79e39f0600615fe79a |
rsh-debuginfo-0.17-64.el6.x86_64.rpm | SHA-256: 1c2ccda303b3356470123313c0dd3f38c0ba20514a02f12aa846320565c2c2f9 |
rsh-server-0.17-64.el6.x86_64.rpm | SHA-256: 6c5044a9976a03500042a9d7998dbc63d6c6903a046fca65f90dd0f2d1c9f68a |
Red Hat Enterprise Linux Server from RHUI 6
SRPM | |
---|---|
rsh-0.17-64.el6.src.rpm | SHA-256: d6d9d5d36fc7fc171d2256846549e7ff8d55aeb66c9ea5a10b116dad891588ef |
x86_64 | |
rsh-0.17-64.el6.x86_64.rpm | SHA-256: 2fb517cafc403d65683c8bbfd8fb2eeed95cd2f221514c79e39f0600615fe79a |
rsh-debuginfo-0.17-64.el6.x86_64.rpm | SHA-256: 1c2ccda303b3356470123313c0dd3f38c0ba20514a02f12aa846320565c2c2f9 |
rsh-server-0.17-64.el6.x86_64.rpm | SHA-256: 6c5044a9976a03500042a9d7998dbc63d6c6903a046fca65f90dd0f2d1c9f68a |
i386 | |
rsh-0.17-64.el6.i686.rpm | SHA-256: 28bb1e40d353519e9b8ce89af00f00b91480774eb33b772c41031acd8e9dde21 |
rsh-debuginfo-0.17-64.el6.i686.rpm | SHA-256: 44d4fe6f29b21cf6384e2c9c3c4d5a3c08ccb0ce4df780b28c9a59f73d0e2137 |
rsh-server-0.17-64.el6.i686.rpm | SHA-256: 9d2c7f95551cdee14bae564879fe87fcae2a1a1becbc81fdf37e1d744e4098e2 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6
SRPM | |
---|---|
rsh-0.17-64.el6.src.rpm | SHA-256: d6d9d5d36fc7fc171d2256846549e7ff8d55aeb66c9ea5a10b116dad891588ef |
s390x | |
rsh-0.17-64.el6.s390x.rpm | SHA-256: 1b5870439315ba1a03a6704f97361ea2824a270ad7e6c1f2821a94cd3ffd9606 |
rsh-debuginfo-0.17-64.el6.s390x.rpm | SHA-256: 10c0e31597a023244770d4a1f26ff30db266a336d8ad173826b83777bbdab480 |
rsh-server-0.17-64.el6.s390x.rpm | SHA-256: 622e1c040474189a7a81cde591c7877c78402bc025eb71f880bcf99727e8ab80 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6
SRPM | |
---|---|
rsh-0.17-64.el6.src.rpm | SHA-256: d6d9d5d36fc7fc171d2256846549e7ff8d55aeb66c9ea5a10b116dad891588ef |
x86_64 | |
rsh-0.17-64.el6.x86_64.rpm | SHA-256: 2fb517cafc403d65683c8bbfd8fb2eeed95cd2f221514c79e39f0600615fe79a |
rsh-debuginfo-0.17-64.el6.x86_64.rpm | SHA-256: 1c2ccda303b3356470123313c0dd3f38c0ba20514a02f12aa846320565c2c2f9 |
rsh-server-0.17-64.el6.x86_64.rpm | SHA-256: 6c5044a9976a03500042a9d7998dbc63d6c6903a046fca65f90dd0f2d1c9f68a |
i386 | |
rsh-0.17-64.el6.i686.rpm | SHA-256: 28bb1e40d353519e9b8ce89af00f00b91480774eb33b772c41031acd8e9dde21 |
rsh-debuginfo-0.17-64.el6.i686.rpm | SHA-256: 44d4fe6f29b21cf6384e2c9c3c4d5a3c08ccb0ce4df780b28c9a59f73d0e2137 |
rsh-server-0.17-64.el6.i686.rpm | SHA-256: 9d2c7f95551cdee14bae564879fe87fcae2a1a1becbc81fdf37e1d744e4098e2 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6
SRPM | |
---|---|
rsh-0.17-64.el6.src.rpm | SHA-256: d6d9d5d36fc7fc171d2256846549e7ff8d55aeb66c9ea5a10b116dad891588ef |
s390x | |
rsh-0.17-64.el6.s390x.rpm | SHA-256: 1b5870439315ba1a03a6704f97361ea2824a270ad7e6c1f2821a94cd3ffd9606 |
rsh-debuginfo-0.17-64.el6.s390x.rpm | SHA-256: 10c0e31597a023244770d4a1f26ff30db266a336d8ad173826b83777bbdab480 |
rsh-server-0.17-64.el6.s390x.rpm | SHA-256: 622e1c040474189a7a81cde591c7877c78402bc025eb71f880bcf99727e8ab80 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.