Skip to content
Threat Brief

← All advisories

CVE-2024-6387

High 8.1No known exploitationPublic exploitFix available

Openssh: regresshion - race condition in ssh allows rce/dos

Record last updated

CVSS score

8.1

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

100%

Among the highest-scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

Description

A security regression (CVE-2006-5051) was discovered in OpenSSH's server (sshd). There is a race condition which can lead sshd to handle some signals in an unsafe manner. An unauthenticated, remote attacker may be able to trigger it by failing to authenticate within a set time period.

Weakness: CWE-364

Patching and mitigation

Patch status
Fix available (source: NVD (reference tagged Patch))
Fix documented (source date)
Mitigation
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. Source (opens in a new tab)
Vendor guidance
access.redhat.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
Red HatRed Hat OpenShift Container Platform 4Not documentedNot documentedCVE Program
almalinuxalmalinux9.0Not documentedNIST NVD
amazonamazon_linux2023.0Not documentedNIST NVD
applemacosfrom 12.0 before 12.7.612.7.6NIST NVD
applemacosfrom 13.0 before 13.6.813.6.8NIST NVD
applemacosfrom 14.0 before 14.614.6NIST NVD
aristaeosfrom 4.32.0 up to and including 4.32.1fNot documentedNIST NVD
canonicalubuntu_linux22.04Not documentedNIST NVD
canonicalubuntu_linux22.10Not documentedNIST NVD
canonicalubuntu_linux23.04Not documentedNIST NVD
canonicalubuntu_linux23.10Not documentedNIST NVD
canonicalubuntu_linux24.04Not documentedNIST NVD
debiandebian_linux12.0Not documentedNIST NVD
freebsdfreebsd13.2Not documentedNIST NVD
freebsdfreebsd13.2Not documentedNIST NVD
freebsdfreebsd13.2Not documentedNIST NVD
freebsdfreebsd13.2Not documentedNIST NVD
freebsdfreebsd13.2Not documentedNIST NVD
freebsdfreebsd13.2Not documentedNIST NVD
freebsdfreebsd13.2Not documentedNIST NVD
freebsdfreebsd13.2Not documentedNIST NVD
freebsdfreebsd13.2Not documentedNIST NVD
freebsdfreebsd13.2Not documentedNIST NVD
freebsdfreebsd13.2Not documentedNIST NVD
freebsdfreebsd13.2Not documentedNIST NVD
freebsdfreebsd13.3Not documentedNIST NVD
freebsdfreebsd13.3Not documentedNIST NVD
freebsdfreebsd13.3Not documentedNIST NVD
freebsdfreebsd13.3Not documentedNIST NVD
freebsdfreebsd14.0Not documentedNIST NVD
freebsdfreebsd14.0Not documentedNIST NVD
freebsdfreebsd14.0Not documentedNIST NVD
freebsdfreebsd14.0Not documentedNIST NVD
freebsdfreebsd14.0Not documentedNIST NVD
freebsdfreebsd14.0Not documentedNIST NVD
freebsdfreebsd14.0Not documentedNIST NVD
freebsdfreebsd14.0Not documentedNIST NVD
freebsdfreebsd14.0Not documentedNIST NVD
freebsdfreebsd14.0Not documentedNIST NVD
freebsdfreebsd14.0Not documentedNIST NVD
freebsdfreebsd14.1Not documentedNIST NVD
freebsdfreebsd14.1Not documentedNIST NVD
netapp500f_firmwareNot documentedNot documentedNIST NVD
netapp8300_firmwareNot documentedNot documentedNIST NVD
netapp8700_firmwareNot documentedNot documentedNIST NVD
netappa150_firmwareNot documentedNot documentedNIST NVD
netappa1k_firmwareNot documentedNot documentedNIST NVD
netappa220_firmwareNot documentedNot documentedNIST NVD
netappa250_firmwareNot documentedNot documentedNIST NVD
netappa400_firmwareNot documentedNot documentedNIST NVD
netappa700s_firmwareNot documentedNot documentedNIST NVD
netappa70_firmwareNot documentedNot documentedNIST NVD
netappa800_firmwareNot documentedNot documentedNIST NVD
netappa900_firmwareNot documentedNot documentedNIST NVD
netappa90_firmwareNot documentedNot documentedNIST NVD
netappa9500_firmwareNot documentedNot documentedNIST NVD
netappactive_iq_unified_managerNot documentedNot documentedNIST NVD
netappbootstrap_osNot documentedNot documentedNIST NVD
netappc190_firmwareNot documentedNot documentedNIST NVD
netappc250_firmwareNot documentedNot documentedNIST NVD
netappc400_firmwareNot documentedNot documentedNIST NVD
netappc800_firmwareNot documentedNot documentedNIST NVD
netappe-series_santricity_os_controllerfrom 11.0.0 up to and including 11.70.2Not documentedNIST NVD
netappfas2720_firmwareNot documentedNot documentedNIST NVD
netappfas2750_firmwareNot documentedNot documentedNIST NVD
netappfas2820_firmwareNot documentedNot documentedNIST NVD
netappontap9Not documentedNIST NVD
netappontap_select_deploy_administration_utilityNot documentedNot documentedNIST NVD
netappontap_tools10Not documentedNIST NVD
netappontap_tools9Not documentedNIST NVD
netbsdnetbsdall versions up to and including 10.0.0Not documentedNIST NVD
openbsdopensshfrom 8.6 up to and including 9.8Not documentedNIST NVD
openbsdopenssh4.4Not documentedNIST NVD
openbsdopenssh8.5Not documentedNIST NVD
openbsdopenssh8.6Not documentedNIST NVD
openbsdopensshall versions before 4.44.4NIST NVD
redhatenterprise_linux9.0Not documentedNIST NVD
redhatenterprise_linux_eus9.4Not documentedNIST NVD
redhatenterprise_linux_for_arm_649.0_aarch64Not documentedNIST NVD
redhatenterprise_linux_for_arm_64_eus9.4_aarch64Not documentedNIST NVD
redhatenterprise_linux_for_ibm_z_systems9.0_s390xNot documentedNIST NVD
redhatenterprise_linux_for_ibm_z_systems_eus9.4_s390xNot documentedNIST NVD
redhatenterprise_linux_for_power_little_endian9.0_ppc64leNot documentedNIST NVD
redhatenterprise_linux_for_power_little_endian_eus9.4_ppc64leNot documentedNIST NVD
redhatenterprise_linux_server_aus9.4Not documentedNIST NVD
redhatopenshift_container_platform4.0Not documentedNIST NVD
sonicwallsma_6200_firmwareNot documentedNot documentedNIST NVD
sonicwallsma_6210_firmwareNot documentedNot documentedNIST NVD
sonicwallsma_7200_firmwareNot documentedNot documentedNIST NVD
sonicwallsma_7210_firmwareNot documentedNot documentedNIST NVD
sonicwallsma_8200v_firmwareNot documentedNot documentedNIST NVD
sonicwallsra_ex_7000_firmwareNot documentedNot documentedNIST NVD
suselinux_enterprise_micro6.0Not documentedNIST NVD
Red HatRed Hat Ceph Storage 5 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Ceph Storage 6 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Ceph Storage 7 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 10 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 6 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 7 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 8 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 9 (unaffected)0:8.7p1-38.el9_4.1Not documentedCVE Program
Red HatRed Hat Enterprise Linux 9 (unaffected)0:8.7p1-38.el9_4.1Not documentedCVE Program
Red HatRed Hat Enterprise Linux 9.0 Update Services for SAP Solutions (unaffected)0:8.7p1-12.el9_0.1Not documentedCVE Program
Red HatRed Hat Enterprise Linux 9.2 Extended Update Support (unaffected)0:8.7p1-30.el9_2.4Not documentedCVE Program
Red HatRed Hat OpenShift Container Platform 4.13 (unaffected)413.92.202407091321-0Not documentedCVE Program
Red HatRed Hat OpenShift Container Platform 4.14 (unaffected)414.92.202407091253-0Not documentedCVE Program
Red HatRed Hat OpenShift Container Platform 4.15 (unaffected)415.92.202407091355-0Not documentedCVE Program
Red HatRed Hat OpenShift Container Platform 4.16 (unaffected)416.94.202407081958-0Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by redhat

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by NVD (reference tagged Patch)

    Source: NVD (reference tagged Patch) (opens in a new tab)

Vendor guidance and references

Public exploit code

Exploit or proof-of-concept code is publicly available on Exploit-DB. Shown as a prioritization and defensive-testing signal — treat exploit code as hostile and run it only against systems you are authorized to test.