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-2014:0795 - Bug Fix Advisory
Issued:
2014-06-26
Updated:
2014-10-13

RHBA-2014:0795 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

rsh bug fix update

Type/Severity

Bug Fix Advisory

Red Hat Lightspeed patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

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 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 - 1094360 - Disable strict-aliasing optimization for rsh

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
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
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
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 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/.

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
© 2025 Red Hat

Red Hat legal and privacy links

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