- Javított verzió
-
0:8.7p1-38.el9_4.1, 0:8.7p1-12.el9_0.1, 0:8.7p1-30.el9_2.4, 413.92.202407091321-0, 414.92.202407091253-0, 415.92.202407091355-0, 416.94.202407081958-0, V1.0 HF1, V3.2 SP2, V6.24
- Gyártói hivatkozás
-
Van
patch vagy gyártói közlemény a hivatkozások között
Kerülő megoldás (CNA)
The below process can protect against a Remote Code Execution attack by disabling the LoginGraceTime parameter on Red Hat Enterprise Linux 9. However, the sshd server is still vulnerable to a Denial of Service if an attacker exhausts all the connections.
1) As root user, open the /etc/ssh/sshd_config
2) Add or edit the parameter configuration:
~~~
LoginGraceTime 0
~~~
3) Save and close the file
4) Restart the sshd daemon:
~~~
systemctl restart sshd.service
~~~
Setting LoginGraceTime to 0 disables the SSHD server's ability to drop connections if authentication is not completed within the specified timeout. If this mitigation is implemented, it is highly recommended to use a tool like 'fail2ban' alongside a firewall to monitor log files and manage connections appropriately.
If any of the mitigations mentioned above is used, please note that the removal of LoginGraceTime parameter from sshd_config is not automatic when the updated package is installed.