U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2024-6387 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
http://seclists.org/fulldisclosure/2024/Jul/18 CVE Mailing List 
http://seclists.org/fulldisclosure/2024/Jul/19 CVE Mailing List 
http://seclists.org/fulldisclosure/2024/Jul/20 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/01/12 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/01/13 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/02/1 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/03/1 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/03/11 CVE Exploit  Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/03/2 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/03/3 CVE Mailing List  Patch 
http://www.openwall.com/lists/oss-security/2024/07/03/4 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/03/5 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/04/1 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/04/2 CVE Exploit  Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/08/2 CVE Exploit  Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/08/3 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/09/2 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/09/5 CVE Exploit  Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/10/1 CVE Exploit  Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/10/2 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/10/3 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/10/4 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/10/6 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/11/1 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/11/3 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/23/4 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/23/6 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/28/2 CVE Mailing List 
http://www.openwall.com/lists/oss-security/2024/07/28/3 CVE Mailing List 
https://access.redhat.com/errata/RHSA-2024:4312 CVE, Inc., Red Hat Third Party Advisory 
https://access.redhat.com/errata/RHSA-2024:4340 CVE, Inc., Red Hat Third Party Advisory 
https://access.redhat.com/errata/RHSA-2024:4389 CVE, Inc., Red Hat Third Party Advisory 
https://access.redhat.com/errata/RHSA-2024:4469 CVE, Inc., Red Hat Third Party Advisory 
https://access.redhat.com/errata/RHSA-2024:4474 CVE, Inc., Red Hat Third Party Advisory 
https://access.redhat.com/errata/RHSA-2024:4479 CVE, Inc., Red Hat Third Party Advisory 
https://access.redhat.com/errata/RHSA-2024:4484 CVE, Inc., Red Hat Third Party Advisory 
https://access.redhat.com/security/cve/CVE-2024-6387 CVE, Inc., Red Hat Third Party Advisory 
https://archlinux.org/news/the-sshd-service-needs-to-be-restarted-after-upgrading-to-openssh-98p1/ CVE Third Party Advisory 
https://arstechnica.com/security/2024/07/regresshion-vulnerability-in-openssh-gives-attackers-root-on-linux/ CVE Press/Media Coverage  Third Party Advisory 
https://blog.qualys.com/vulnerabilities-threat-research/2024/07/01/regresshion-remote-unauthenticated-code-execution-vulnerability-in-openssh-server CVE Press/Media Coverage  Third Party Advisory 
https://bugzilla.redhat.com/show_bug.cgi?id=2294604 CVE, Inc., Red Hat Third Party Advisory 
https://explore.alas.aws.amazon.com/CVE-2024-6387.html CVE Third Party Advisory 
https://forum.vmssoftware.com/viewtopic.php?f=8&t=9132 CVE Issue Tracking 
https://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2024-002.txt.asc CVE Release Notes 
https://github.com/AlmaLinux/updates/issues/629 CVE Issue Tracking 
https://github.com/Azure/AKS/issues/4379 CVE Issue Tracking 
https://github.com/PowerShell/Win32-OpenSSH/discussions/2248 CVE Issue Tracking 
https://github.com/PowerShell/Win32-OpenSSH/issues/2249 CVE Issue Tracking 
https://github.com/microsoft/azurelinux/issues/9555 CVE Issue Tracking 
https://github.com/openela-main/openssh/commit/e1f438970e5a337a17070a637c1b9e19697cad09 CVE Patch 
https://github.com/oracle/oracle-linux/issues/149 CVE Issue Tracking 
https://github.com/rapier1/hpn-ssh/issues/87 CVE Issue Tracking 
https://github.com/zgzhang/cve-2024-6387-poc CVE Third Party Advisory 
https://lists.almalinux.org/archives/list/[email protected]/thread/23BF5BMGFVEVUI2WNVAGMLKT557EU7VY/ CVE Third Party Advisory 
https://lists.mindrot.org/pipermail/openssh-unix-announce/2024-July/000158.html CVE Mailing List  Release Notes 
https://lists.mindrot.org/pipermail/openssh-unix-dev/2024-July/041431.html CVE Mailing List  Patch 
https://news.ycombinator.com/item?id=40843778 CVE Issue Tracking  Patch 
https://packetstorm.news/files/id/190587/ CVE Broken Link 
https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0010 CVE Third Party Advisory 
https://santandersecurityresearch.github.io/blog/sshing_the_masses.html CVE, Inc., Red Hat Exploit  Third Party Advisory 
https://security-tracker.debian.org/tracker/CVE-2024-6387 CVE Third Party Advisory 
https://security.netapp.com/advisory/ntap-20240701-0001/ CVE Third Party Advisory 
https://sig-security.rocky.page/issues/CVE-2024-6387/ CVE Third Party Advisory 
https://stackdiary.com/openssh-race-condition-in-sshd-allows-remote-code-execution/ CVE Press/Media Coverage  Third Party Advisory 
https://support.apple.com/kb/HT214118 CVE Third Party Advisory 
https://support.apple.com/kb/HT214119 CVE Third Party Advisory 
https://support.apple.com/kb/HT214120 CVE Third Party Advisory 
https://ubuntu.com/security/CVE-2024-6387 CVE Third Party Advisory 
https://ubuntu.com/security/notices/USN-6859-1 CVE Third Party Advisory 
https://www.akamai.com/blog/security-research/2024-openssh-vulnerability-regression-what-to-know-and-do CVE Third Party Advisory 
https://www.arista.com/en/support/advisories-notices/security-advisory/19904-security-advisory-0100 CVE Third Party Advisory 
https://www.exploit-db.com/exploits/52269 CVE Exploit 
https://www.freebsd.org/security/advisories/FreeBSD-SA-24:04.openssh.asc CVE Third Party Advisory 
https://www.openssh.com/txt/release-9.8 CVE, Inc., Red Hat Release Notes  Third Party Advisory 
https://www.qualys.com/2024/07/01/cve-2024-6387/regresshion.txt CVE, Inc., Red Hat Exploit  Third Party Advisory 
https://www.splunk.com/en_us/blog/security/cve-2024-6387-regresshion-vulnerability.html CVE Third Party Advisory 
https://www.suse.com/security/cve/CVE-2024-6387.html CVE Third Party Advisory 
https://www.theregister.com/2024/07/01/regresshion_openssh/ CVE Press/Media Coverage  Third Party Advisory 
https://www.vicarius.io/vsociety/posts/regresshion-an-openssh-regression-error-cve-2024-6387 CVE Exploit  Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') cwe source acceptance level NIST  
CWE-364 Signal Handler Race Condition Red Hat, Inc.  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

53 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2024-6387
NVD Published Date:
07/01/2024
NVD Last Modified:
09/30/2025
Source:
Red Hat, Inc.