You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
The NVD has a
new announcement page with status updates, news, and how
to stay connected!
CVE-2024-6387
Detail
Awaiting Analysis
This vulnerability is currently awaiting analysis.
Description
A security regression (CVE-2006-5051) was discovered in OpenSSH's server (sshd). There is a race condition which can lead to 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.
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 nvd@nist.gov.
Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/04/2 [No types assigned]
CVE Modified by Red Hat, Inc.7/03/2024 11:15:02 PM
Action
Type
Old Value
New Value
Added
Reference
Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/04/1 [No types assigned]
CVE Modified by Red Hat, Inc.7/03/2024 6:15:03 PM
Action
Type
Old Value
New Value
Added
Reference
Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/03/11 [No types assigned]
CVE Modified by Red Hat, Inc.7/03/2024 4:15:05 PM
Action
Type
Old Value
New Value
Added
Reference
Red Hat, Inc. https://arstechnica.com/security/2024/07/regresshion-vulnerability-in-openssh-gives-attackers-root-on-linux/ [No types assigned]
Added
Reference
Red Hat, Inc. https://github.com/AlmaLinux/updates/issues/629 [No types assigned]
Added
Reference
Red Hat, Inc. https://github.com/Azure/AKS/issues/4379 [No types assigned]
Added
Reference
Red Hat, Inc. https://github.com/PowerShell/Win32-OpenSSH/discussions/2248 [No types assigned]
Added
Reference
Red Hat, Inc. https://github.com/PowerShell/Win32-OpenSSH/issues/2249 [No types assigned]
Added
Reference
Red Hat, Inc. https://github.com/microsoft/azurelinux/issues/9555 [No types assigned]
CVE Modified by Red Hat, Inc.7/03/2024 1:15:05 PM
Action
Type
Old Value
New Value
Added
Reference
Red Hat, Inc. https://access.redhat.com/errata/RHSA-2024:4312 [No types assigned]
CVE Modified by Red Hat, Inc.7/03/2024 9:15:03 AM
Action
Type
Old Value
New Value
Added
Reference
Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/03/5 [No types assigned]
CVE Modified by Red Hat, Inc.7/03/2024 8:15:02 AM
Action
Type
Old Value
New Value
Added
Reference
Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/03/4 [No types assigned]
CVE Modified by Red Hat, Inc.7/03/2024 5:15:07 AM
Action
Type
Old Value
New Value
Added
Reference
Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/03/3 [No types assigned]
CVE Modified by Red Hat, Inc.7/03/2024 4:15:10 AM
Action
Type
Old Value
New Value
Added
Reference
Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/03/1 [No types assigned]
Added
Reference
Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/03/2 [No types assigned]
CVE Modified by Red Hat, Inc.7/02/2024 7:15:11 PM
Action
Type
Old Value
New Value
Changed
Description
A signal handler race condition was found in OpenSSH's server (sshd), where a client does not authenticate within LoginGraceTime seconds (120 by default, 600 in old OpenSSH versions), then sshd's SIGALRM handler is called asynchronously. However, this signal handler calls various functions that are not async-signal-safe, for example, syslog().
A security regression (CVE-2006-5051) was discovered in OpenSSH's server (sshd). There is a race condition which can lead to 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.
CVE Modified by Red Hat, Inc.7/02/2024 3:15:12 PM
Action
Type
Old Value
New Value
Added
Reference
Red Hat, Inc. https://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2024-002.txt.asc [No types assigned]
Added
Reference
Red Hat, Inc. https://www.freebsd.org/security/advisories/FreeBSD-SA-24:04.openssh.asc [No types assigned]
CVE Modified by Red Hat, Inc.7/02/2024 10:15:14 AM
Action
Type
Old Value
New Value
Added
Reference
Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/02/1 [No types assigned]
CVE Modified by Red Hat, Inc.7/01/2024 7:15:02 PM
Action
Type
Old Value
New Value
Added
Reference
Red Hat, Inc. https://security.netapp.com/advisory/ntap-20240701-0001/ [No types assigned]
CVE Modified by Red Hat, Inc.7/01/2024 6:15:04 PM
Action
Type
Old Value
New Value
Added
Reference
Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/01/13 [No types assigned]
CVE Modified by Red Hat, Inc.7/01/2024 3:15:06 PM
Action
Type
Old Value
New Value
Added
Reference
Red Hat, Inc. https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0010 [No types assigned]
Added
Reference
Red Hat, Inc. https://stackdiary.com/openssh-race-condition-in-sshd-allows-remote-code-execution/ [No types assigned]
CVE Modified by Red Hat, Inc.7/01/2024 2:15:02 PM
Action
Type
Old Value
New Value
Added
Reference
Red Hat, Inc. https://archlinux.org/news/the-sshd-service-needs-to-be-restarted-after-upgrading-to-openssh-98p1/ [No types assigned]
Added
Reference
Red Hat, Inc. https://blog.qualys.com/vulnerabilities-threat-research/2024/07/01/regresshion-remote-unauthenticated-code-execution-vulnerability-in-openssh-server [No types assigned]
Added
Reference
Red Hat, Inc. https://explore.alas.aws.amazon.com/CVE-2024-6387.html [No types assigned]
Added
Reference
Red Hat, Inc. https://github.com/oracle/oracle-linux/issues/149 [No types assigned]
Added
Reference
Red Hat, Inc. https://github.com/rapier1/hpn-ssh/issues/87 [No types assigned]
Added
Reference
Red Hat, Inc. https://github.com/zgzhang/cve-2024-6387-poc [No types assigned]
Added
Reference
Red Hat, Inc. https://lists.mindrot.org/pipermail/openssh-unix-announce/2024-July/000158.html [No types assigned]
Added
Reference
Red Hat, Inc. https://lists.mindrot.org/pipermail/openssh-unix-dev/2024-July/041431.html [No types assigned]
Added
Reference
Red Hat, Inc. https://news.ycombinator.com/item?id=40843778 [No types assigned]
Added
Reference
Red Hat, Inc. https://security-tracker.debian.org/tracker/CVE-2024-6387 [No types assigned]
Added
Reference
Red Hat, Inc. https://ubuntu.com/security/CVE-2024-6387 [No types assigned]
Added
Reference
Red Hat, Inc. https://ubuntu.com/security/notices/USN-6859-1 [No types assigned]
Added
Reference
Red Hat, Inc. https://www.openssh.com/txt/release-9.8 [No types assigned]
Added
Reference
Red Hat, Inc. https://www.suse.com/security/cve/CVE-2024-6387.html [No types assigned]
Added
Reference
Red Hat, Inc. https://www.theregister.com/2024/07/01/regresshion_openssh/ [No types assigned]
CVE Modified by Red Hat, Inc.7/01/2024 1:15:09 PM
Action
Type
Old Value
New Value
Added
Reference
Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/01/12 [No types assigned]
New CVE Received by NIST7/01/2024 9:15:06 AM
Action
Type
Old Value
New Value
Added
CVSS V3.1
Red Hat, Inc. AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Added
CWE
Red Hat, Inc. CWE-364
Added
Description
A signal handler race condition was found in OpenSSH's server (sshd), where a client does not authenticate within LoginGraceTime seconds (120 by default, 600 in old OpenSSH versions), then sshd's SIGALRM handler is called asynchronously. However, this signal handler calls various functions that are not async-signal-safe, for example, syslog().
Added
Reference
Red Hat, Inc. https://access.redhat.com/security/cve/CVE-2024-6387 [No types assigned]
Added
Reference
Red Hat, Inc. https://bugzilla.redhat.com/show_bug.cgi?id=2294604 [No types assigned]
Added
Reference
Red Hat, Inc. https://www.qualys.com/2024/07/01/cve-2024-6387/regresshion.txt [No types assigned]
Quick Info
CVE Dictionary Entry: CVE-2024-6387 NVD
Published Date: 07/01/2024 NVD
Last Modified: 07/04/2024
Source: Red Hat, Inc.