{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-6387","id":"CVE-2024-6387","title":"Openssh: regresshion - race condition in ssh allows rce/dos","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.","descriptionLong":"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.","published":"2024-07-01T12:37:25.431Z","updated":"2026-11-19T21:00:07.407800549Z","reserved":"2024-06-27T13:41:03.421Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"redhat"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"redhat"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"redhat.com"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["OpenSSH","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.2 Extended Update Support","Red Hat OpenShift Container Platform 4.13","Red Hat OpenShift Container Platform 4.14","Red Hat OpenShift Container Platform 4.15","Red Hat OpenShift Container Platform 4.16","Red Hat Ceph Storage 5","Red Hat Ceph Storage 6","Red Hat Ceph Storage 7","Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat OpenShift Container Platform 4"],"affectedProducts":[{"vendor":"","product":"OpenSSH","defaultStatus":"unaffected","versions":[{"status":"affected","version":"8.5p1","versionType":"custom","lessThanOrEqual":"9.7p1"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","defaultStatus":"affected","versions":[{"version":"0:8.7p1-38.el9_4.1","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","defaultStatus":"affected","versions":[{"version":"0:8.7p1-38.el9_4.1","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions","defaultStatus":"affected","versions":[{"version":"0:8.7p1-12.el9_0.1","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.2 Extended Update Support","defaultStatus":"affected","versions":[{"version":"0:8.7p1-30.el9_2.4","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.13","defaultStatus":"affected","versions":[{"version":"413.92.202407091321-0","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.14","defaultStatus":"affected","versions":[{"version":"414.92.202407091253-0","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.15","defaultStatus":"affected","versions":[{"version":"415.92.202407091355-0","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.16","defaultStatus":"affected","versions":[{"version":"416.94.202407081958-0","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 5","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 6","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 7","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","defaultStatus":"affected","versions":[],"platforms":[]}],"packages":[],"cwes":["CWE-364","CWE-362"],"aliases":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:4312","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:4340","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:4389","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:4469","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:4474","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:4479","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:4484","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-6387","tags":["vdb-entry","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2294604","tags":["issue-tracking","x_refsource_REDHAT","x_transferred","Third Party Advisory","report"]},{"url":"https://santandersecurityresearch.github.io/blog/sshing_the_masses.html","tags":["x_transferred","Exploit","Third Party Advisory","article"]},{"url":"https://www.openssh.com/txt/release-9.8","tags":["x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"https://www.qualys.com/2024/07/01/cve-2024-6387/regresshion.txt","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://www.vicarius.io/vsociety/posts/regresshion-an-openssh-regression-error-cve-2024-6387","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://www.exploit-db.com/exploits/52269","tags":["Exploit","web"]},{"url":"https://packetstorm.news/files/id/190587/","tags":["Broken Link","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/01/12","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/01/13","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/02/1","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/03/1","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/03/11","tags":["x_transferred","Exploit","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/03/2","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/03/3","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/03/4","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/03/5","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/04/1","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/04/2","tags":["x_transferred","Exploit","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/08/2","tags":["x_transferred","Exploit","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/08/3","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/09/2","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/09/5","tags":["x_transferred","Exploit","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/10/1","tags":["x_transferred","Exploit","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/10/2","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/10/3","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/10/4","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/10/6","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/11/1","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/11/3","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/23/4","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/23/6","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/28/2","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/28/3","tags":["x_transferred","Mailing List","web"]},{"url":"https://archlinux.org/news/the-sshd-service-needs-to-be-restarted-after-upgrading-to-openssh-98p1/","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://arstechnica.com/security/2024/07/regresshion-vulnerability-in-openssh-gives-attackers-root-on-linux/","tags":["x_transferred","Press/Media Coverage","Third Party Advisory","web"]},{"url":"https://blog.qualys.com/vulnerabilities-threat-research/2024/07/01/regresshion-remote-unauthenticated-code-execution-vulnerability-in-openssh-server","tags":["x_transferred","Press/Media Coverage","Third Party Advisory","article"]},{"url":"https://explore.alas.aws.amazon.com/CVE-2024-6387.html","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://forum.vmssoftware.com/viewtopic.php?f=8&t=9132","tags":["x_transferred","Issue Tracking","web"]},{"url":"https://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2024-002.txt.asc","tags":["x_transferred","Release Notes","advisory"]},{"url":"https://github.com/AlmaLinux/updates/issues/629","tags":["x_transferred","Issue Tracking","report"]},{"url":"https://github.com/Azure/AKS/issues/4379","tags":["x_transferred","Issue Tracking","report"]},{"url":"https://github.com/PowerShell/Win32-OpenSSH/discussions/2248","tags":["x_transferred","Issue Tracking","web"]},{"url":"https://github.com/PowerShell/Win32-OpenSSH/issues/2249","tags":["x_transferred","Issue Tracking","report"]},{"url":"https://github.com/microsoft/azurelinux/issues/9555","tags":["x_transferred","Issue Tracking","report"]},{"url":"https://github.com/openela-main/openssh/commit/e1f438970e5a337a17070a637c1b9e19697cad09","tags":["x_transferred","Patch","fix"]},{"url":"https://github.com/oracle/oracle-linux/issues/149","tags":["x_transferred","Issue Tracking","report"]},{"url":"https://github.com/rapier1/hpn-ssh/issues/87","tags":["x_transferred","Issue Tracking","report"]},{"url":"https://github.com/zgzhang/cve-2024-6387-poc","tags":["x_transferred","Third Party Advisory","package"]},{"url":"https://lists.almalinux.org/archives/list/announce@lists.almalinux.org/thread/23BF5BMGFVEVUI2WNVAGMLKT557EU7VY/","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://lists.mindrot.org/pipermail/openssh-unix-announce/2024-July/000158.html","tags":["x_transferred","Mailing List","Release Notes","web"]},{"url":"https://lists.mindrot.org/pipermail/openssh-unix-dev/2024-July/041431.html","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://news.ycombinator.com/item?id=40843778","tags":["x_transferred","Issue Tracking","Patch","web"]},{"url":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0010","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-6387","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20240701-0001/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://sig-security.rocky.page/issues/CVE-2024-6387/","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://stackdiary.com/openssh-race-condition-in-sshd-allows-remote-code-execution/","tags":["x_transferred","Press/Media Coverage","Third Party Advisory","web"]},{"url":"https://ubuntu.com/security/CVE-2024-6387","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://ubuntu.com/security/notices/USN-6859-1","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.akamai.com/blog/security-research/2024-openssh-vulnerability-regression-what-to-know-and-do","tags":["x_transferred","Third Party Advisory","article"]},{"url":"https://www.arista.com/en/support/advisories-notices/security-advisory/19904-security-advisory-0100","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.freebsd.org/security/advisories/FreeBSD-SA-24:04.openssh.asc","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.splunk.com/en_us/blog/security/cve-2024-6387-regresshion-vulnerability.html","tags":["x_transferred","Third Party Advisory","article"]},{"url":"https://www.suse.com/security/cve/CVE-2024-6387.html","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://www.theregister.com/2024/07/01/regresshion_openssh/","tags":["x_transferred","Press/Media Coverage","Third Party Advisory","web"]},{"url":"https://support.apple.com/kb/HT214119","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://support.apple.com/kb/HT214118","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://support.apple.com/kb/HT214120","tags":["x_transferred","Third Party Advisory","web"]},{"url":"http://seclists.org/fulldisclosure/2024/Jul/20","tags":["x_transferred","Mailing List","web"]},{"url":"http://seclists.org/fulldisclosure/2024/Jul/18","tags":["x_transferred","Mailing List","web"]},{"url":"http://seclists.org/fulldisclosure/2024/Jul/19","tags":["x_transferred","Mailing List","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-446545.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":["web"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://catalog.redhat.com/software/containers/","tags":["web"]},{"url":"https://www.openssh.com/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6387.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6387","tags":["advisory"]},{"url":"https://anongit.mindrot.org/openssh.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.99506,"epssPercentile":0.99945,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-6387","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6387","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-6387","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-6387","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["openssh"],"critical":["EPSS 100% with CVSS 8.1"],"attention":null}