USN-9116-1: rsh vulnerabilities

Publication date

17 November 2026

Overview

rsh could be made to overwrite files or modify directory permissions if it connected to a malicious server.

Releases


Packages

  • netkit-rsh - client and server programs for remote shell connections

Details

It was discovered that the rcp client in rsh incorrectly handled filenames
of . or empty filenames received from the server. If a user were tricked
into connecting to a malicious rsh server, an attacker could possibly use
this issue to modify the permissions of the target directory.
(CVE-2019-7282)

It was discovered that the rcp client in rsh did not properly validate
filenames received from the server. If a user were tricked into connecting
to a malicious rsh server, an attacker could possibly use this issue to
overwrite arbitrary files in the target directory. (CVE-2019-7283)

It was discovered that the rcp client in rsh incorrectly handled filenames
of . or empty filenames received from the server. If a user were tricked
into connecting to a malicious rsh server, an attacker could possibly use
this issue to modify the permissions of the target directory.
(CVE-2019-7282)

It was discovered that the rcp client in rsh did not properly validate
filenames received from the server. If a user were tricked into connecting
to a malicious rsh server, an attacker could possibly use this issue to
overwrite arbitrary files in the target directory. (CVE-2019-7283)

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
16.04 LTS xenial rsh-client –  0.17-15ubuntu0.16.04.1~esm1

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›