Information
RHEL 9 must not have the rsh-server package installed.
GROUP ID: V-257830
RULE ID: SV-257830r958478
The "rsh-server" service provides unencrypted remote access service, which does not provide for the confidentiality and integrity of user passwords or the remote session and has very weak authentication. If a privileged user were to login using this service, the privileged user password could be compromised. The "rsh-server" package provides several obsolete and insecure network services. Removing it decreases the risk of accidental (or intentional) activation of those services.
Solution
Remove the rsh-server package with the following command:
$ sudo dnf remove rsh-server