CVE-2024-6387
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 63.83%• Percentile: 98%
Techniques & Countermeasures
- CWE-364•Signal Handler Race Condition
The product uses a signal handler that introduces a race condition.
- CWE-362•Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
Affected Systems
- almalinux•almalinux
9.0
- amazon•amazon_linux
2023.0
- Unknown•macOS
≥ 12.0, < 12.7.6 | ≥ 13.0, < 13.6.8 | ≥ 14.0, < 14.6
- arista•eos
≥ 4.32.0, ≤ 4.32.1f
- canonical•ubuntu_linux
23.10 | 24.04 | 22.04 | 22.10 | 23.04
- debian•debian_linux
12.0
- freebsd•freebsd
13.2 | 13.2:p1 | 13.2:p10 | 13.2:p11 | 13.2:p2 | 13.2:p3 | 13.2:p4 | 13.2:p5 | 13.2:p6 | 13.2:p7 | 13.2:p8 | 13.2:p9 | 13.3 | 13.3:p1 | 13.3:p2 | 13.3:p3 | 14.0 | 14.0:beta5 | 14.0:p1 | 14.0:p2 | 14.0:p3 | 14.0:p4 | 14.0:p5 | 14.0:p6 | 14.0:p7 | 14.0:rc3 | 14.0:rc4-p1 | 14.1 | 14.1:p1
- netapp•500f_firmware
na
- netapp•8300_firmware
na
- netapp•8700_firmware
na
- netapp•a150_firmware
na
- netapp•a1k_firmware
na
- netapp•a220_firmware
na
- netapp•a250_firmware
na
- netapp•a400_firmware
na
- netapp•a70_firmware
na
- netapp•a700s_firmware
na
- netapp•a800_firmware
na
- netapp•a90_firmware
na
- netapp•a900_firmware
na
- netapp•a9500_firmware
na
- netapp•active_iq_unified_manager
na
- netapp•bootstrap_os
na
- netapp•c190_firmware
na
- netapp•c250_firmware
na
- netapp•c400_firmware
na
- netapp•c800_firmware
na
- netapp•e-series_santricity_os_controller
≥ 11.0.0, ≤ 11.70.2
- netapp•fas2720_firmware
na
- netapp•fas2750_firmware
na
- netapp•fas2820_firmware
na
- netapp•ontap
9
- netapp•ontap_select_deploy_administration_utility
na
- netapp•ontap_tools
9 | 10
- netbsd•netbsd
≤ 10.0.0
- openbsd•openssh
< 4.4 | ≥ 8.6, ≤ 9.8 | 4.4 | 8.5:p1 | 8.6
- redhat•enterprise_linux
9.0
- redhat•enterprise_linux_eus
9.4
- redhat•enterprise_linux_for_arm_64
9.0_aarch64
- redhat•enterprise_linux_for_arm_64_eus
9.4_aarch64
- redhat•enterprise_linux_for_ibm_z_systems
9.0_s390x
- redhat•enterprise_linux_for_ibm_z_systems_eus
9.4_s390x
- redhat•enterprise_linux_for_power_little_endian
9.0_ppc64le
- redhat•enterprise_linux_for_power_little_endian_eus
9.4_ppc64le
- redhat•enterprise_linux_server_aus
9.4
- redhat•openshift_container_platform
4.0
- sonicwall•sma_6200_firmware
na
- sonicwall•sma_6210_firmware
na
- sonicwall•sma_7200_firmware
na
- sonicwall•sma_7210_firmware
na
Showing first 50 affected entries in server-rendered view.
References (81)
- https://access.redhat.com/errata/RHSA-2024:4312
- https://access.redhat.com/errata/RHSA-2024:4340
- https://access.redhat.com/errata/RHSA-2024:4389
- https://access.redhat.com/errata/RHSA-2024:4469
- https://access.redhat.com/errata/RHSA-2024:4474
- https://access.redhat.com/errata/RHSA-2024:4479
- https://access.redhat.com/errata/RHSA-2024:4484
- https://access.redhat.com/security/cve/CVE-2024-6387
- https://bugzilla.redhat.com/show_bug.cgi?id=2294604
- https://santandersecurityresearch.github.io/blog/sshing_the_masses.html
- https://www.openssh.com/txt/release-9.8
- https://www.qualys.com/2024/07/01/cve-2024-6387/regresshion.txt
- https://www.vicarius.io/vsociety/posts/regresshion-an-openssh-regression-error-cve-2024-6387
- https://www.exploit-db.com/exploits/52269
- https://packetstorm.news/files/id/190587/
- http://www.openwall.com/lists/oss-security/2024/07/01/12
- http://www.openwall.com/lists/oss-security/2024/07/01/13
- http://www.openwall.com/lists/oss-security/2024/07/02/1
- http://www.openwall.com/lists/oss-security/2024/07/03/1
- http://www.openwall.com/lists/oss-security/2024/07/03/11
- http://www.openwall.com/lists/oss-security/2024/07/03/2
- http://www.openwall.com/lists/oss-security/2024/07/03/3
- http://www.openwall.com/lists/oss-security/2024/07/03/4
- http://www.openwall.com/lists/oss-security/2024/07/03/5
- http://www.openwall.com/lists/oss-security/2024/07/04/1
- http://www.openwall.com/lists/oss-security/2024/07/04/2
- http://www.openwall.com/lists/oss-security/2024/07/08/2
- http://www.openwall.com/lists/oss-security/2024/07/08/3
- http://www.openwall.com/lists/oss-security/2024/07/09/2
- http://www.openwall.com/lists/oss-security/2024/07/09/5
- http://www.openwall.com/lists/oss-security/2024/07/10/1
- http://www.openwall.com/lists/oss-security/2024/07/10/2
- http://www.openwall.com/lists/oss-security/2024/07/10/3
- http://www.openwall.com/lists/oss-security/2024/07/10/4
- http://www.openwall.com/lists/oss-security/2024/07/10/6
- http://www.openwall.com/lists/oss-security/2024/07/11/1
- http://www.openwall.com/lists/oss-security/2024/07/11/3
- http://www.openwall.com/lists/oss-security/2024/07/23/4
- http://www.openwall.com/lists/oss-security/2024/07/23/6
- http://www.openwall.com/lists/oss-security/2024/07/28/2
- http://www.openwall.com/lists/oss-security/2024/07/28/3
- https://archlinux.org/news/the-sshd-service-needs-to-be-restarted-after-upgrading-to-openssh-98p1/
- https://arstechnica.com/security/2024/07/regresshion-vulnerability-in-openssh-gives-attackers-root-on-linux/
- https://blog.qualys.com/vulnerabilities-threat-research/2024/07/01/regresshion-remote-unauthenticated-code-execution-vulnerability-in-openssh-server
- https://explore.alas.aws.amazon.com/CVE-2024-6387.html
- https://forum.vmssoftware.com/viewtopic.php?f=8&t=9132
- https://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2024-002.txt.asc
- https://github.com/AlmaLinux/updates/issues/629
- https://github.com/Azure/AKS/issues/4379
- https://github.com/PowerShell/Win32-OpenSSH/discussions/2248
- https://github.com/PowerShell/Win32-OpenSSH/issues/2249
- https://github.com/microsoft/azurelinux/issues/9555
- https://github.com/openela-main/openssh/commit/e1f438970e5a337a17070a637c1b9e19697cad09
- https://github.com/oracle/oracle-linux/issues/149
- https://github.com/rapier1/hpn-ssh/issues/87
- https://github.com/zgzhang/cve-2024-6387-poc
- https://lists.almalinux.org/archives/list/announce@lists.almalinux.org/thread/23BF5BMGFVEVUI2WNVAGMLKT557EU7VY/
- https://lists.mindrot.org/pipermail/openssh-unix-announce/2024-July/000158.html
- https://lists.mindrot.org/pipermail/openssh-unix-dev/2024-July/041431.html
- https://news.ycombinator.com/item?id=40843778
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0010
- https://security-tracker.debian.org/tracker/CVE-2024-6387
- https://security.netapp.com/advisory/ntap-20240701-0001/
- https://sig-security.rocky.page/issues/CVE-2024-6387/
- https://stackdiary.com/openssh-race-condition-in-sshd-allows-remote-code-execution/
- https://ubuntu.com/security/CVE-2024-6387
- https://ubuntu.com/security/notices/USN-6859-1
- https://www.akamai.com/blog/security-research/2024-openssh-vulnerability-regression-what-to-know-and-do
- https://www.arista.com/en/support/advisories-notices/security-advisory/19904-security-advisory-0100
- https://www.freebsd.org/security/advisories/FreeBSD-SA-24:04.openssh.asc
- https://www.splunk.com/en_us/blog/security/cve-2024-6387-regresshion-vulnerability.html
- https://www.suse.com/security/cve/CVE-2024-6387.html
- https://www.theregister.com/2024/07/01/regresshion_openssh/
- https://support.apple.com/kb/HT214119
- https://support.apple.com/kb/HT214118
- https://support.apple.com/kb/HT214120
- http://seclists.org/fulldisclosure/2024/Jul/20
- http://seclists.org/fulldisclosure/2024/Jul/18
- http://seclists.org/fulldisclosure/2024/Jul/19
- https://cert-portal.siemens.com/productcert/html/ssa-446545.html
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html