Patchfirst
CVE-2024-6387 Public exploit High · 8.1 EPSS 99.5%

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

Red Hat · Red Hat Enterprise Linux 9

Summary

The flaw is a race condition in the sshd server component of OpenSSH, as shipped in Red Hat Enterprise Linux 9, where some signals are handled in an unsafe manner. An unauthenticated remote attacker can trigger it by failing to authenticate within a set time period, with no user interaction required.

Official description · CVE.org

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.

Breakdown
68.7 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 16 days after disclosure. Public exploit code (PoC-in-GitHub) was available the same day.

  1. DisclosedPublic exploit codePoC-in-GitHubday 0
  2. First seen exploitedVulnCheck KEV evidence+16 days

See the family tree

A fix was bypassed or incomplete 2 times over 18 years.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2006-5051Signal handler race condition in OpenSSH before 4.4 allows…27 Sep 2006
  2. incomplete fixHigh

    Why these are linked:

    • Stated in the CVE textNOTE: this issue exists because of an incorrect fix for CVE-2006-5051.
    CVE-2008-4109A certain Debian patch for OpenSSH before 4.3p2-9etch3 on etch…17 Sep 2008
  3. same family
    This CVECVE-2024-6387Openssh: regresshion - race condition in ssh allows rce/dos1 Jul 2024
  4. variant in the same codeHigh

    Why these are linked:

    • Stated in the CVE textThis issue is another instance of the problem in CVE-2024-6387 addressed by FreeBSD-SA-24:04.openssh.
    CVE-2024-7589OpenSSH pre-authentication async signal safety issue11 Aug 2024

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

What security researchers reported

Not named in any threat report yet

References

81 links, grouped by NVD tag

x_transferred 64

openwall.com/lists/oss-security/2024/07/01/12openwall.com/lists/oss-security/2024/07/01/13openwall.com/lists/oss-security/2024/07/02/1openwall.com/lists/oss-security/2024/07/03/1openwall.com/lists/oss-security/2024/07/03/11openwall.com/lists/oss-security/2024/07/03/2openwall.com/lists/oss-security/2024/07/03/3openwall.com/lists/oss-security/2024/07/03/4
Show 56 moreShow feweropenwall.com/lists/oss-security/2024/07/03/5openwall.com/lists/oss-security/2024/07/04/1openwall.com/lists/oss-security/2024/07/04/2openwall.com/lists/oss-security/2024/07/08/2openwall.com/lists/oss-security/2024/07/08/3openwall.com/lists/oss-security/2024/07/09/2openwall.com/lists/oss-security/2024/07/09/5openwall.com/lists/oss-security/2024/07/10/1openwall.com/lists/oss-security/2024/07/10/2openwall.com/lists/oss-security/2024/07/10/3openwall.com/lists/oss-security/2024/07/10/4openwall.com/lists/oss-security/2024/07/10/6openwall.com/lists/oss-security/2024/07/11/1openwall.com/lists/oss-security/2024/07/11/3openwall.com/lists/oss-security/2024/07/23/4openwall.com/lists/oss-security/2024/07/23/6openwall.com/lists/oss-security/2024/07/28/2openwall.com/lists/oss-security/2024/07/28/3archlinux.org/news/the-sshd-service-needs-to-be-restarted-after-upgrading-to-openssh-98p1/arstechnica.com/security/2024/07/regresshion-vulnerability-in-openssh-gives-attackers-root-on-linux/blog.qualys.com/vulnerabilities-threat-research/2024/07/01/regresshion-remote-unauthenticated-code-execution-vulnerability-in-openssh-serverexplore.alas.aws.amazon.com/CVE-2024-6387.htmlforum.vmssoftware.com/viewtopic.php?f=8&t=9132ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2024-002.txt.ascgithub.com/AlmaLinux/updates/issues/629github.com/Azure/AKS/issues/4379github.com/PowerShell/Win32-OpenSSH/discussions/2248github.com/PowerShell/Win32-OpenSSH/issues/2249github.com/microsoft/azurelinux/issues/9555github.com/openela-main/openssh/commit/e1f438970e5a337a17070a637c1b9e19697cad09github.com/oracle/oracle-linux/issues/149github.com/rapier1/hpn-ssh/issues/87github.com/zgzhang/cve-2024-6387-poclists.almalinux.org/archives/list/announce@lists.almalinux.org/thread/23BF5BMGFVEVUI2WNVAGMLKT557EU7VY/lists.mindrot.org/pipermail/openssh-unix-announce/2024-July/000158.htmllists.mindrot.org/pipermail/openssh-unix-dev/2024-July/041431.htmlnews.ycombinator.com/item?id=40843778psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0010security-tracker.debian.org/tracker/CVE-2024-6387security.netapp.com/advisory/ntap-20240701-0001/sig-security.rocky.page/issues/CVE-2024-6387/stackdiary.com/openssh-race-condition-in-sshd-allows-remote-code-execution/ubuntu.com/security/CVE-2024-6387ubuntu.com/security/notices/USN-6859-1akamai.com/blog/security-research/2024-openssh-vulnerability-regression-what-to-know-and-doarista.com/en/support/advisories-notices/security-advisory/19904-security-advisory-0100freebsd.org/security/advisories/FreeBSD-SA-24:04.openssh.ascsplunk.com/en_us/blog/security/cve-2024-6387-regresshion-vulnerability.htmlsuse.com/security/cve/CVE-2024-6387.htmltheregister.com/2024/07/01/regresshion_openssh/support.apple.com/kb/HT214119support.apple.com/kb/HT214118support.apple.com/kb/HT214120seclists.org/fulldisclosure/2024/Jul/20seclists.org/fulldisclosure/2024/Jul/18seclists.org/fulldisclosure/2024/Jul/19
↑ ↓ chooseEnter openEsc close