RHSA-2024:4340HighCVSS 8.1

Red Hat Security Advisory: openssh security update

Published
July 5, 2024
Last Modified
November 6, 2026

🔗 CVE IDs covered (1)

📋 Description

CVE-2024-6387 — openssh: regreSSHion - race condition in SSH allows RCE/DoS

🎯 Affected products91

  • Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • Red Hat Enterprise Linux BaseOS EUS (v.9.2)
  • openssh-0:8.7p1-30.el9_2.4.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
  • openssh-0:8.7p1-30.el9_2.4.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
  • openssh-0:8.7p1-30.el9_2.4.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
  • openssh-0:8.7p1-30.el9_2.4.src as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
  • openssh-0:8.7p1-30.el9_2.4.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
  • openssh-askpass-0:8.7p1-30.el9_2.4.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • openssh-askpass-0:8.7p1-30.el9_2.4.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • openssh-askpass-0:8.7p1-30.el9_2.4.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • openssh-askpass-0:8.7p1-30.el9_2.4.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • openssh-askpass-debuginfo-0:8.7p1-30.el9_2.4.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • openssh-askpass-debuginfo-0:8.7p1-30.el9_2.4.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
  • openssh-askpass-debuginfo-0:8.7p1-30.el9_2.4.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • openssh-askpass-debuginfo-0:8.7p1-30.el9_2.4.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
  • openssh-askpass-debuginfo-0:8.7p1-30.el9_2.4.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • openssh-askpass-debuginfo-0:8.7p1-30.el9_2.4.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
  • openssh-askpass-debuginfo-0:8.7p1-30.el9_2.4.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • openssh-askpass-debuginfo-0:8.7p1-30.el9_2.4.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
  • openssh-clients-0:8.7p1-30.el9_2.4.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
  • openssh-clients-0:8.7p1-30.el9_2.4.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
  • openssh-clients-0:8.7p1-30.el9_2.4.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
  • openssh-clients-0:8.7p1-30.el9_2.4.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
  • openssh-clients-debuginfo-0:8.7p1-30.el9_2.4.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • openssh-clients-debuginfo-0:8.7p1-30.el9_2.4.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
  • openssh-clients-debuginfo-0:8.7p1-30.el9_2.4.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • openssh-clients-debuginfo-0:8.7p1-30.el9_2.4.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
  • openssh-clients-debuginfo-0:8.7p1-30.el9_2.4.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • openssh-clients-debuginfo-0:8.7p1-30.el9_2.4.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.2)
  • openssh-clients-debuginfo-0:8.7p1-30.el9_2.4.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • +61 more not shown

✅ Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: 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.

🔗 References (4)