CVE-2024-6387
Openssh: regresshion - race condition in ssh allows rce/dos
02 Description
Openssh: regresshion - race condition in ssh allows rce/dos
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 99.50% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 99.9% of scored records. A rank, not a probability.
- NVD base score
- 8.1 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-15.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2024-07-01 12:37Z2 YR AGO
- Last updated
- 2026-10-15 02:04Z14 DAYS AGO
- Reserved
- 2024-06-27
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.1)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- Data version
- 5.2
- Document digest
- dd72f461e7a8dcbb48668afc9fe5d08f85e94d9a304e36d12a47904f6bbfef11
05 Affected products
06 References
- access.redhat.comRHSA-2024:4312https://access.redhat.com/errata/RHSA-2024:4312
- access.redhat.comRHSA-2024:4340https://access.redhat.com/errata/RHSA-2024:4340
- access.redhat.comRHSA-2024:4389https://access.redhat.com/errata/RHSA-2024:4389
- access.redhat.comRHSA-2024:4469https://access.redhat.com/errata/RHSA-2024:4469
- access.redhat.comRHSA-2024:4474https://access.redhat.com/errata/RHSA-2024:4474
- access.redhat.comRHSA-2024:4479https://access.redhat.com/errata/RHSA-2024:4479
- access.redhat.comRHSA-2024:4484https://access.redhat.com/errata/RHSA-2024:4484
- access.redhat.comhttps://access.redhat.com/security/cve/CVE-2024-6387
- bugzilla.redhat.comRHBZ#2294604https://bugzilla.redhat.com/show_bug.cgi?id=2294604
- santandersecurityresearch.github.iohttps://santandersecurityresearch.github.io/blog/sshing_the_masses.html
- www.openssh.comhttps://www.openssh.com/txt/release-9.8
- www.qualys.comhttps://www.qualys.com/2024/07/01/cve-2024-6387/regresshion.txt
- www.vicarius.iohttps://www.vicarius.io/vsociety/posts/regresshion-an-openssh-regression-error-cve-2024-6387
- www.exploit-db.comhttps://www.exploit-db.com/exploits/52269
- packetstorm.newshttps://packetstorm.news/files/id/190587/
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/01/12
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/01/13
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/02/1
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/03/1
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/03/11
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/03/2
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/03/3
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/03/4
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/03/5
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/04/1
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/04/2
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/08/2
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/08/3
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/09/2
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/09/5
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/10/1
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/10/2
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/10/3
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/10/4
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/10/6
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/11/1
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/11/3
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/23/4
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/23/6
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/28/2
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/28/3
- archlinux.orghttps://archlinux.org/news/the-sshd-service-needs-to-be-restarted-after-upgrading-to-openssh-98p1/
- arstechnica.comhttps://arstechnica.com/security/2024/07/regresshion-vulnerability-in-openssh-gives-attackers-root-on-linux/
- blog.qualys.comhttps://blog.qualys.com/vulnerabilities-threat-research/2024/07/01/regresshion-remote-unauthenticated-code-execution-vulnerability-in-openssh-server
- explore.alas.aws.amazon.comhttps://explore.alas.aws.amazon.com/CVE-2024-6387.html
- forum.vmssoftware.comhttps://forum.vmssoftware.com/viewtopic.php?f=8&t=9132
- ftp.netbsd.orghttps://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2024-002.txt.asc
- github.comhttps://github.com/AlmaLinux/updates/issues/629
- github.comhttps://github.com/Azure/AKS/issues/4379
- github.comhttps://github.com/PowerShell/Win32-OpenSSH/discussions/2248
- github.comhttps://github.com/PowerShell/Win32-OpenSSH/issues/2249
- github.comhttps://github.com/microsoft/azurelinux/issues/9555
- github.comhttps://github.com/openela-main/openssh/commit/e1f438970e5a337a17070a637c1b9e19697cad09
- github.comhttps://github.com/oracle/oracle-linux/issues/149
- github.comhttps://github.com/rapier1/hpn-ssh/issues/87
- github.comhttps://github.com/zgzhang/cve-2024-6387-poc
- lists.almalinux.orghttps://lists.almalinux.org/archives/list/announce@lists.almalinux.org/thread/23BF5BMGFVEVUI2WNVAGMLKT557EU7VY/
- lists.mindrot.orghttps://lists.mindrot.org/pipermail/openssh-unix-announce/2024-July/000158.html
- lists.mindrot.orghttps://lists.mindrot.org/pipermail/openssh-unix-dev/2024-July/041431.html
- news.ycombinator.comhttps://news.ycombinator.com/item?id=40843778
- psirt.global.sonicwall.comhttps://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0010
- security-tracker.debian.orghttps://security-tracker.debian.org/tracker/CVE-2024-6387
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20240701-0001/
- sig-security.rocky.pagehttps://sig-security.rocky.page/issues/CVE-2024-6387/
- stackdiary.comhttps://stackdiary.com/openssh-race-condition-in-sshd-allows-remote-code-execution/
- ubuntu.comhttps://ubuntu.com/security/CVE-2024-6387
- ubuntu.comhttps://ubuntu.com/security/notices/USN-6859-1
- www.akamai.comhttps://www.akamai.com/blog/security-research/2024-openssh-vulnerability-regression-what-to-know-and-do
- www.arista.comhttps://www.arista.com/en/support/advisories-notices/security-advisory/19904-security-advisory-0100
- www.freebsd.orghttps://www.freebsd.org/security/advisories/FreeBSD-SA-24:04.openssh.asc
- www.splunk.comhttps://www.splunk.com/en_us/blog/security/cve-2024-6387-regresshion-vulnerability.html
- www.suse.comhttps://www.suse.com/security/cve/CVE-2024-6387.html
- www.theregister.comhttps://www.theregister.com/2024/07/01/regresshion_openssh/
- support.apple.comhttps://support.apple.com/kb/HT214119
- support.apple.comhttps://support.apple.com/kb/HT214118
- support.apple.comhttps://support.apple.com/kb/HT214120
- seclists.orghttp://seclists.org/fulldisclosure/2024/Jul/20
- seclists.orghttp://seclists.org/fulldisclosure/2024/Jul/18
- seclists.orghttp://seclists.org/fulldisclosure/2024/Jul/19
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-446545.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-082556.html
07 Fixed in
AlmaLinux 9
- openssh Fixed in 8.7p1-38.el9_4.1
- openssh-askpass Fixed in 8.7p1-38.el9_4.1
- openssh-clients Fixed in 8.7p1-38.el9_4.1
- openssh-keycat Fixed in 8.7p1-38.el9_4.1
- openssh-server Fixed in 8.7p1-38.el9_4.1
- pam_ssh_agent_auth Fixed in 0.10.4-5.38.el9_4.1
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- openssh Fixed in 9.8p1-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 9
- openssh Fixed in 8.7p1-38.el9_4.1
- openssh-askpass Fixed in 8.7p1-38.el9_4.1
- openssh-clients Fixed in 8.7p1-38.el9_4.1
- openssh-keycat Fixed in 8.7p1-38.el9_4.1
- openssh-server Fixed in 8.7p1-38.el9_4.1
- pam_ssh_agent_auth Fixed in 0.10.4-5.38.el9_4.1
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- openssh Fixed in 1:9.2p1-2+deb12u3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- openssh Fixed in 1:9.7p1-7
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- openssh Fixed in 1:9.7p1-7
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- openssh Fixed in 1:8.9p1-3ubuntu0.10
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- openssh Fixed in 1:9.6p1-3ubuntu13.3
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.