RHBA-2014:1700

Type: Bug fix
Severity: None
Published: 2014-10-23
Red Hat Enterprise Linux 7

The rsh packages contain programs which allow users to run commands on remote machines (the rsh application), log in to other machines (the rlogin application), copy files between machines (the rcp application), and programs which provide an alternate method of executing remote commands (the rexec application). All of these programs are run by the xinetd service 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: * Prior to this update, the maximum number of command-line arguments for the rsh application was not limited, even though the size of the data buffer allocated to the arguments was always finite. Consequently, the rshd service terminated unexpectedly when it attempted to allocate the buffer to commands with a vast number of arguments. With this update, a limit for command-line arguments in rsh has been implemented, and rshd no longer crashes in the described situation. (BZ#1093749) * Prior to this update, the rsh application was optimized through strict-aliasing rules, even though it was 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 produces warning messages. However, note that this can cause a slight decrease in rsh performance. (BZ#1095306) Users of rsh are advised to upgrade to these updated packages, which fix these bugs.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T23:33:29.885Z UTC

Official vendor advisory

Red Hat Enterprise Linux 7

View source
Observed 2026-11-27T23:33:29.885Z UTC. Last updated 2026-10-07T09:01:24.599Z UTC.

Upstream Advisory

Affected Packages

  • rsh 0.17-76.el7

  • rsh-server 0.17-76.el7

Interested in being alerted when there are new versions of rsh and the other packages? Set up an alert.
RHBA-2014:1700: rsh bug fix update | Package Alert