8.1
HIGH
CVE-2024-6387
OpenSSH sshd Signal Handling Race Condition
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.

INFO

Published Date :

July 1, 2024, 1:15 p.m.

Last Modified :

July 18, 2024, 10:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.2
Public PoC/Exploit Available at Github

CVE-2024-6387 has a 131 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-6387 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
2 Redhat enterprise_linux_server_aus
3 Redhat openshift_container_platform
4 Redhat enterprise_linux_eus
5 Redhat enterprise_linux_for_ibm_z_systems_eus
6 Redhat enterprise_linux_for_power_little_endian
7 Redhat enterprise_linux_for_power_little_endian_eus
8 Redhat enterprise_linux_for_ibm_z_systems
9 Redhat enterprise_linux_for_arm_64
10 Redhat enterprise_linux_for_arm_64_eus
1 Netapp ontap_select_deploy_administration_utility
2 Netapp e-series_santricity_os_controller
3 Netapp ontap_tools
1 Canonical ubuntu_linux
1 Debian debian_linux
1 Openbsd openssh
1 Freebsd freebsd
1 Netbsd netbsd
1 Suse linux_enterprise_micro
1 Amazon linux_2023
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-6387.

URL Resource
http://www.openwall.com/lists/oss-security/2024/07/01/12 Mailing List
http://www.openwall.com/lists/oss-security/2024/07/01/13 Mailing List
http://www.openwall.com/lists/oss-security/2024/07/02/1 Mailing List
http://www.openwall.com/lists/oss-security/2024/07/03/1 Mailing List
http://www.openwall.com/lists/oss-security/2024/07/03/11 Mailing List
http://www.openwall.com/lists/oss-security/2024/07/03/2 Mailing List
http://www.openwall.com/lists/oss-security/2024/07/03/3 Mailing List
http://www.openwall.com/lists/oss-security/2024/07/03/4 Mailing List
http://www.openwall.com/lists/oss-security/2024/07/03/5 Mailing List
http://www.openwall.com/lists/oss-security/2024/07/04/1 Mailing List
http://www.openwall.com/lists/oss-security/2024/07/04/2 Mailing List
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
https://access.redhat.com/errata/RHSA-2024:4312 Third Party Advisory
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 Third Party Advisory
https://archlinux.org/news/the-sshd-service-needs-to-be-restarted-after-upgrading-to-openssh-98p1/ Third Party Advisory
https://arstechnica.com/security/2024/07/regresshion-vulnerability-in-openssh-gives-attackers-root-on-linux/ 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 Exploit Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2294604 Issue Tracking
https://explore.alas.aws.amazon.com/CVE-2024-6387.html Third Party Advisory
https://forum.vmssoftware.com/viewtopic.php?f=8&t=9132
https://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2024-002.txt.asc Third Party Advisory
https://github.com/AlmaLinux/updates/issues/629 Issue Tracking
https://github.com/Azure/AKS/issues/4379 Issue Tracking
https://github.com/PowerShell/Win32-OpenSSH/discussions/2248 Issue Tracking
https://github.com/PowerShell/Win32-OpenSSH/issues/2249 Issue Tracking
https://github.com/microsoft/azurelinux/issues/9555 Issue Tracking
https://github.com/openela-main/openssh/commit/e1f438970e5a337a17070a637c1b9e19697cad09
https://github.com/oracle/oracle-linux/issues/149 Issue Tracking
https://github.com/rapier1/hpn-ssh/issues/87 Issue Tracking
https://github.com/zgzhang/cve-2024-6387-poc Third Party Advisory
https://lists.almalinux.org/archives/list/[email protected]/thread/23BF5BMGFVEVUI2WNVAGMLKT557EU7VY/
https://lists.mindrot.org/pipermail/openssh-unix-announce/2024-July/000158.html Mailing List Third Party Advisory
https://lists.mindrot.org/pipermail/openssh-unix-dev/2024-July/041431.html Mailing List Patch
https://news.ycombinator.com/item?id=40843778 Issue Tracking Patch
https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0010 Third Party Advisory
https://security-tracker.debian.org/tracker/CVE-2024-6387 Third Party Advisory
https://security.netapp.com/advisory/ntap-20240701-0001/ Third Party Advisory
https://sig-security.rocky.page/issues/CVE-2024-6387/ Third Party Advisory
https://stackdiary.com/openssh-race-condition-in-sshd-allows-remote-code-execution/ Third Party Advisory
https://ubuntu.com/security/CVE-2024-6387 Third Party Advisory
https://ubuntu.com/security/notices/USN-6859-1 Third Party Advisory
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 Third Party Advisory
https://www.openssh.com/txt/release-9.8 Release Notes
https://www.qualys.com/2024/07/01/cve-2024-6387/regresshion.txt Exploit Third Party Advisory
https://www.splunk.com/en_us/blog/security/cve-2024-6387-regresshion-vulnerability.html
https://www.suse.com/security/cve/CVE-2024-6387.html Third Party Advisory
https://www.theregister.com/2024/07/01/regresshion_openssh/ Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

A curated list of all the starred repositories by Nathaniel Chitnis

Updated: 3 days, 4 hours ago
0 stars 0 fork 0 watcher
Born at : July 17, 2024, 8:30 p.m. This repo has been linked 1 different CVEs too.

None

Python

Updated: 4 days, 12 hours ago
0 stars 0 fork 0 watcher
Born at : July 17, 2024, 7:14 p.m. This repo has been linked 1 different CVEs too.

OpenSSH RCE Massive Vulnerable Scanner

Python

Updated: 3 days, 17 hours ago
1 stars 0 fork 0 watcher
Born at : July 15, 2024, 4:04 p.m. This repo has been linked 1 different CVEs too.

This tool checks the version of OpenSSH running on specified hosts and ports and determines if they are potentially vulnerable.

Python

Updated: 6 days, 20 hours ago
0 stars 0 fork 0 watcher
Born at : July 15, 2024, 10:24 a.m. This repo has been linked 1 different CVEs too.

OpenSSH a publié un avis de sécurité concernant la vulnérabilité critique CVE-2024-6387. Cette vulnérabilité permet à un attaquant non authentifié d'exécuter du code arbitraire

Shell

Updated: 1 week ago
0 stars 0 fork 0 watcher
Born at : July 14, 2024, 6 p.m. This repo has been linked 1 different CVEs too.

Tata Amanat Network Generik Guna Update dan Hardening

Updated: 1 week, 2 days ago
0 stars 0 fork 0 watcher
Born at : July 12, 2024, 7:21 a.m. This repo has been linked 1 different CVEs too.

Lỗ hổng thực thi mã không được xác thực từ xa trong máy chủ OpenSSH

Python

Updated: 1 week, 3 days ago
0 stars 0 fork 0 watcher
Born at : July 12, 2024, 3:28 a.m. This repo has been linked 1 different CVEs too.

Fix for regreSSHion CVE-2024-6387 for Ubuntu and Debian

Shell

Updated: 1 week, 3 days ago
0 stars 0 fork 0 watcher
Born at : July 11, 2024, 11:22 p.m. This repo has been linked 3 different CVEs too.

Classmethod Odyssey 2024 サーバーレスエンジニアのための体験型Linux入門のワークショップ

C Go HTML

Updated: 2 days, 6 hours ago
0 stars 0 fork 0 watcher
Born at : July 11, 2024, 9:44 p.m. This repo has been linked 1 different CVEs too.

OpenSSH vulnerability CVE-2024-6387

Shell

Updated: 1 week, 3 days ago
0 stars 0 fork 0 watcher
Born at : July 11, 2024, 4:54 p.m. This repo has been linked 1 different CVEs too.

CVE-2024-6387, also known as RegreSSHion, is a high-severity vulnerability found in OpenSSH servers (sshd) running on glibc-based Linux systems. It is a regression of a previously fixed vulnerability (CVE-2006-5051), which means the issue was reintroduced in newer versions of OpenSSH.

Python

Updated: 1 week, 3 days ago
0 stars 0 fork 0 watcher
Born at : July 11, 2024, 2:37 p.m. This repo has been linked 2 different CVEs too.

Bulk Scanning Tool for OpenSSH CVE-2024-6387, CVE-2024-6409, CVE-2006-5051, CVE-2008-4109, and 16 other CVEs.

Updated: 1 week, 3 days ago
0 stars 0 fork 0 watcher
Born at : July 11, 2024, 11:56 a.m. This repo has been linked 22 different CVEs too.

Nueva version mejorada

Python

Updated: 6 days, 15 hours ago
2 stars 0 fork 0 watcher
Born at : July 11, 2024, 5:35 a.m. This repo has been linked 1 different CVEs too.

None

C

Updated: 1 week, 4 days ago
0 stars 0 fork 0 watcher
Born at : July 10, 2024, 1:27 p.m. This repo has been linked 1 different CVEs too.

This Rust Code is designed to check SSH servers for the CVE-2024-6387 vulnerability

Rust

Updated: 1 week, 4 days ago
0 stars 0 fork 0 watcher
Born at : July 9, 2024, 9:01 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following table lists the changes that have been made to the CVE-2024-6387 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Jul. 18, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2024:4474 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 17, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2024:4479 [No types assigned]
    Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2024:4484 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 16, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2024:4469 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 14, 2024

    Action Type Old Value New Value
    Changed 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. 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.
  • CVE Modified by [email protected]

    Jul. 11, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://www.arista.com/en/support/advisories-notices/security-advisory/19904-security-advisory-0100 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 11, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/11/3 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 11, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/11/1 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 11, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://github.com/openela-main/openssh/commit/e1f438970e5a337a17070a637c1b9e19697cad09 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 10, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/10/6 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 10, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/10/4 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 10, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/10/3 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 10, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/10/2 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 10, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/10/1 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 10, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/09/5 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 09, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/09/2 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 09, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://www.akamai.com/blog/security-research/2024-openssh-vulnerability-regression-what-to-know-and-do [No types assigned]
    Added Reference Red Hat, Inc. https://lists.almalinux.org/archives/list/[email protected]/thread/23BF5BMGFVEVUI2WNVAGMLKT557EU7VY/ [No types assigned]
  • CVE Modified by [email protected]

    Jul. 08, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2024:4389 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 08, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/08/2 [No types assigned]
    Added Reference Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/08/3 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 06, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://www.splunk.com/en_us/blog/security/cve-2024-6387-regresshion-vulnerability.html [No types assigned]
    Added Reference Red Hat, Inc. https://forum.vmssoftware.com/viewtopic.php?f=8&t=9132 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 05, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2024:4340 [No types assigned]
  • Modified Analysis by [email protected]

    Jul. 05, 2024

    Action Type Old Value New Value
    Changed Reference Type https://sig-security.rocky.page/issues/CVE-2024-6387/ No Types Assigned https://sig-security.rocky.page/issues/CVE-2024-6387/ Third Party Advisory
  • CVE Modified by [email protected]

    Jul. 05, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://sig-security.rocky.page/issues/CVE-2024-6387/ [No types assigned]
  • Initial Analysis by [email protected]

    Jul. 05, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/07/01/12 No Types Assigned http://www.openwall.com/lists/oss-security/2024/07/01/12 Mailing List
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/07/01/13 No Types Assigned http://www.openwall.com/lists/oss-security/2024/07/01/13 Mailing List
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/07/02/1 No Types Assigned http://www.openwall.com/lists/oss-security/2024/07/02/1 Mailing List
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/07/03/1 No Types Assigned http://www.openwall.com/lists/oss-security/2024/07/03/1 Mailing List
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/07/03/11 No Types Assigned http://www.openwall.com/lists/oss-security/2024/07/03/11 Mailing List
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/07/03/2 No Types Assigned http://www.openwall.com/lists/oss-security/2024/07/03/2 Mailing List
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/07/03/3 No Types Assigned http://www.openwall.com/lists/oss-security/2024/07/03/3 Mailing List
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/07/03/4 No Types Assigned http://www.openwall.com/lists/oss-security/2024/07/03/4 Mailing List
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/07/03/5 No Types Assigned http://www.openwall.com/lists/oss-security/2024/07/03/5 Mailing List
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/07/04/1 No Types Assigned http://www.openwall.com/lists/oss-security/2024/07/04/1 Mailing List
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/07/04/2 No Types Assigned http://www.openwall.com/lists/oss-security/2024/07/04/2 Mailing List
    Changed Reference Type https://access.redhat.com/errata/RHSA-2024:4312 No Types Assigned https://access.redhat.com/errata/RHSA-2024:4312 Third Party Advisory
    Changed Reference Type https://access.redhat.com/security/cve/CVE-2024-6387 No Types Assigned https://access.redhat.com/security/cve/CVE-2024-6387 Third Party Advisory
    Changed Reference Type https://archlinux.org/news/the-sshd-service-needs-to-be-restarted-after-upgrading-to-openssh-98p1/ No Types Assigned https://archlinux.org/news/the-sshd-service-needs-to-be-restarted-after-upgrading-to-openssh-98p1/ Third Party Advisory
    Changed Reference Type https://arstechnica.com/security/2024/07/regresshion-vulnerability-in-openssh-gives-attackers-root-on-linux/ No Types Assigned https://arstechnica.com/security/2024/07/regresshion-vulnerability-in-openssh-gives-attackers-root-on-linux/ Press/Media Coverage, Third Party Advisory
    Changed Reference Type https://blog.qualys.com/vulnerabilities-threat-research/2024/07/01/regresshion-remote-unauthenticated-code-execution-vulnerability-in-openssh-server No Types Assigned https://blog.qualys.com/vulnerabilities-threat-research/2024/07/01/regresshion-remote-unauthenticated-code-execution-vulnerability-in-openssh-server Exploit, Third Party Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2294604 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2294604 Issue Tracking
    Changed Reference Type https://explore.alas.aws.amazon.com/CVE-2024-6387.html No Types Assigned https://explore.alas.aws.amazon.com/CVE-2024-6387.html Third Party Advisory
    Changed Reference Type https://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2024-002.txt.asc No Types Assigned https://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2024-002.txt.asc Third Party Advisory
    Changed Reference Type https://github.com/AlmaLinux/updates/issues/629 No Types Assigned https://github.com/AlmaLinux/updates/issues/629 Issue Tracking
    Changed Reference Type https://github.com/Azure/AKS/issues/4379 No Types Assigned https://github.com/Azure/AKS/issues/4379 Issue Tracking
    Changed Reference Type https://github.com/microsoft/azurelinux/issues/9555 No Types Assigned https://github.com/microsoft/azurelinux/issues/9555 Issue Tracking
    Changed Reference Type https://github.com/oracle/oracle-linux/issues/149 No Types Assigned https://github.com/oracle/oracle-linux/issues/149 Issue Tracking
    Changed Reference Type https://github.com/PowerShell/Win32-OpenSSH/discussions/2248 No Types Assigned https://github.com/PowerShell/Win32-OpenSSH/discussions/2248 Issue Tracking
    Changed Reference Type https://github.com/PowerShell/Win32-OpenSSH/issues/2249 No Types Assigned https://github.com/PowerShell/Win32-OpenSSH/issues/2249 Issue Tracking
    Changed Reference Type https://github.com/rapier1/hpn-ssh/issues/87 No Types Assigned https://github.com/rapier1/hpn-ssh/issues/87 Issue Tracking
    Changed Reference Type https://github.com/zgzhang/cve-2024-6387-poc No Types Assigned https://github.com/zgzhang/cve-2024-6387-poc Third Party Advisory
    Changed Reference Type https://lists.mindrot.org/pipermail/openssh-unix-announce/2024-July/000158.html No Types Assigned https://lists.mindrot.org/pipermail/openssh-unix-announce/2024-July/000158.html Mailing List, Third Party Advisory
    Changed Reference Type https://lists.mindrot.org/pipermail/openssh-unix-dev/2024-July/041431.html No Types Assigned https://lists.mindrot.org/pipermail/openssh-unix-dev/2024-July/041431.html Mailing List, Patch
    Changed Reference Type https://news.ycombinator.com/item?id=40843778 No Types Assigned https://news.ycombinator.com/item?id=40843778 Issue Tracking, Patch
    Changed Reference Type https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0010 No Types Assigned https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0010 Third Party Advisory
    Changed Reference Type https://security.netapp.com/advisory/ntap-20240701-0001/ No Types Assigned https://security.netapp.com/advisory/ntap-20240701-0001/ Third Party Advisory
    Changed Reference Type https://security-tracker.debian.org/tracker/CVE-2024-6387 No Types Assigned https://security-tracker.debian.org/tracker/CVE-2024-6387 Third Party Advisory
    Changed Reference Type https://stackdiary.com/openssh-race-condition-in-sshd-allows-remote-code-execution/ No Types Assigned https://stackdiary.com/openssh-race-condition-in-sshd-allows-remote-code-execution/ Third Party Advisory
    Changed Reference Type https://ubuntu.com/security/CVE-2024-6387 No Types Assigned https://ubuntu.com/security/CVE-2024-6387 Third Party Advisory
    Changed Reference Type https://ubuntu.com/security/notices/USN-6859-1 No Types Assigned https://ubuntu.com/security/notices/USN-6859-1 Third Party Advisory
    Changed Reference Type https://www.freebsd.org/security/advisories/FreeBSD-SA-24:04.openssh.asc No Types Assigned https://www.freebsd.org/security/advisories/FreeBSD-SA-24:04.openssh.asc Third Party Advisory
    Changed Reference Type https://www.openssh.com/txt/release-9.8 No Types Assigned https://www.openssh.com/txt/release-9.8 Release Notes
    Changed Reference Type https://www.qualys.com/2024/07/01/cve-2024-6387/regresshion.txt No Types Assigned https://www.qualys.com/2024/07/01/cve-2024-6387/regresshion.txt Exploit, Third Party Advisory
    Changed Reference Type https://www.suse.com/security/cve/CVE-2024-6387.html No Types Assigned https://www.suse.com/security/cve/CVE-2024-6387.html Third Party Advisory
    Changed Reference Type https://www.theregister.com/2024/07/01/regresshion_openssh/ No Types Assigned https://www.theregister.com/2024/07/01/regresshion_openssh/ Third Party Advisory
    Added CWE NIST CWE-362
    Added CPE Configuration OR *cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:* versions up to (excluding) 4.4 *cpe:2.3:a:openbsd:openssh:4.4:-:*:*:*:*:*:* *cpe:2.3:a:openbsd:openssh:8.5:p1:*:*:*:*:*:* *cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:* versions from (including) 8.6 up to (excluding) 9.8 *cpe:2.3:a:openbsd:openssh:9.8:-:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:9.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_arm_64:9.0_aarch64:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_arm_64_eus:9.4_aarch64:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:9.0_s390x:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:9.4_s390x:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:9.0_ppc64le:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:9.4_ppc64le:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:9.4:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:suse:linux_enterprise_micro:6.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:22.10:*:*:*:-:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:23.04:*:*:*:lts:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:amazon:linux_2023:-:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:netapp:e-series_santricity_os_controller:*:*:*:*:*:*:*:* versions from (including) 11.0.0 up to (including) 11.70.2 *cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:ontap_tools:9:*:*:*:*:vmware_vsphere:*:*
    Added CPE Configuration OR *cpe:2.3:o:freebsd:freebsd:13.2:-:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:p1:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:p10:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:p11:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:p2:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:p3:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:p4:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:p5:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:p6:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:p7:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:p8:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:p9:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.3:-:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.3:p1:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.3:p2:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.3:p3:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.0:-:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.0:beta5:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.0:p1:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.0:p2:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.0:p3:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.0:p4:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.0:p5:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.0:p6:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.0:p7:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.0:rc3:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.0:rc4-p1:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.1:-:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.1:p1:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:netbsd:netbsd:*:*:*:*:*:*:*:* versions up to (including) 10.0.0
  • CVE Modified by [email protected]

    Jul. 04, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/04/2 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 04, 2024

    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 [email protected]

    Jul. 03, 2024

    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 [email protected]

    Jul. 03, 2024

    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/microsoft/azurelinux/issues/9555 [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/issues/2249 [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/PowerShell/Win32-OpenSSH/discussions/2248 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 03, 2024

    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 [email protected]

    Jul. 03, 2024

    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 [email protected]

    Jul. 03, 2024

    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 [email protected]

    Jul. 03, 2024

    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 [email protected]

    Jul. 03, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/03/2 [No types assigned]
    Added Reference Red Hat, Inc. http://www.openwall.com/lists/oss-security/2024/07/03/1 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 02, 2024

    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 [email protected]

    Jul. 02, 2024

    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 [email protected]

    Jul. 02, 2024

    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 [email protected]

    Jul. 01, 2024

    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 [email protected]

    Jul. 01, 2024

    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 [email protected]

    Jul. 01, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://stackdiary.com/openssh-race-condition-in-sshd-allows-remote-code-execution/ [No types assigned]
    Added Reference Red Hat, Inc. https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0010 [No types assigned]
  • CVE Modified by [email protected]

    Jul. 01, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://github.com/zgzhang/cve-2024-6387-poc [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.suse.com/security/cve/CVE-2024-6387.html [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://archlinux.org/news/the-sshd-service-needs-to-be-restarted-after-upgrading-to-openssh-98p1/ [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://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://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://www.theregister.com/2024/07/01/regresshion_openssh/ [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://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]
  • CVE Modified by [email protected]

    Jul. 01, 2024

    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]
  • CVE Received by [email protected]

    Jul. 01, 2024

    Action Type Old Value New Value
    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]
    Added CWE Red Hat, Inc. CWE-364
    Added CVSS V3.1 Red Hat, Inc. AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-6387 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-6387 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability