PRIOn Logo

CVE-2024-6387 Race condition

Urgent
Remediate Within one Week

CVE Information

Original CVE data

Published:
Updated:

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.

CWE: CWE-362
CVSS v2-
CVSS v38.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
https://access.redhat.com/security/cve/CVE-2024-6387
https://bugzilla.redhat.com/show_bug.cgi?id=2294604
https://www.qualys.com/2024/07/01/cve-2024-6387/regresshion.txt
http://www.openwall.com/lists/oss-security/2024/07/01/12
https://github.com/zgzhang/cve-2024-6387-poc
https://ubuntu.com/security/CVE-2024-6387
https://ubuntu.com/security/notices/USN-6859-1
https://www.suse.com/security/cve/CVE-2024-6387.html
https://explore.alas.aws.amazon.com/CVE-2024-6387.html
https://archlinux.org/news/the-sshd-service-needs-to-be-restarted-after-upgrading-to-openssh-98p1/
https://www.openssh.com/txt/release-9.8
https://lists.mindrot.org/pipermail/openssh-unix-announce/2024-July/000158.html
https://lists.mindrot.org/pipermail/openssh-unix-dev/2024-July/041431.html
https://blog.qualys.com/vulnerabilities-threat-research/2024/07/01/regresshion-remote-unauthenticated-code-execution-vulnerability-in-openssh-server
https://www.theregister.com/2024/07/01/regresshion_openssh/
https://news.ycombinator.com/item?id=40843778
https://security-tracker.debian.org/tracker/CVE-2024-6387
https://github.com/oracle/oracle-linux/issues/149
https://github.com/rapier1/hpn-ssh/issues/87
https://stackdiary.com/openssh-race-condition-in-sshd-allows-remote-code-execution/
https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0010
http://www.openwall.com/lists/oss-security/2024/07/01/13
https://security.netapp.com/advisory/ntap-20240701-0001/
http://www.openwall.com/lists/oss-security/2024/07/02/1
https://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2024-002.txt.asc
https://www.freebsd.org/security/advisories/FreeBSD-SA-24:04.openssh.asc
http://www.openwall.com/lists/oss-security/2024/07/03/2
http://www.openwall.com/lists/oss-security/2024/07/03/1
http://www.openwall.com/lists/oss-security/2024/07/03/3
http://www.openwall.com/lists/oss-security/2024/07/03/4
http://www.openwall.com/lists/oss-security/2024/07/03/5
https://access.redhat.com/errata/RHSA-2024:4312
https://arstechnica.com/security/2024/07/regresshion-vulnerability-in-openssh-gives-attackers-root-on-linux/
https://github.com/microsoft/azurelinux/issues/9555
https://github.com/Azure/AKS/issues/4379
https://github.com/PowerShell/Win32-OpenSSH/issues/2249
https://github.com/AlmaLinux/updates/issues/629
https://github.com/PowerShell/Win32-OpenSSH/discussions/2248
http://www.openwall.com/lists/oss-security/2024/07/03/11
http://www.openwall.com/lists/oss-security/2024/07/04/1
http://www.openwall.com/lists/oss-security/2024/07/04/2
https://sig-security.rocky.page/issues/CVE-2024-6387/
https://access.redhat.com/errata/RHSA-2024:4340
https://www.splunk.com/en_us/blog/security/cve-2024-6387-regresshion-vulnerability.html
https://forum.vmssoftware.com/viewtopic.php?f=8&t=9132
http://www.openwall.com/lists/oss-security/2024/07/08/2
http://www.openwall.com/lists/oss-security/2024/07/08/3
https://access.redhat.com/errata/RHSA-2024:4389
https://www.akamai.com/blog/security-research/2024-openssh-vulnerability-regression-what-to-know-and-do
https://lists.almalinux.org/archives/list/[email protected]/thread/23BF5BMGFVEVUI2WNVAGMLKT557EU7VY/
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
https://github.com/openela-main/openssh/commit/e1f438970e5a337a17070a637c1b9e19697cad09
http://www.openwall.com/lists/oss-security/2024/07/11/1
http://www.openwall.com/lists/oss-security/2024/07/11/3
Affected Vendors

Amazon - (1)

Canonical - (1)

Debian - (1)

Freebsd - (1)

Netapp - (3)

Netbsd - (1)

Openbsd - (1)

Redhat - (10)

Suse - (1)

Basic Analysis

Common vulnerability metrics

Vulnerabilty type as detected by PRIOnengine

Race condition

CVSS Scores as calculated by PRIOnengine
CVSS v26.8
AV:N/AC:M/AU:N/C:P/I:P/A:P
CVSS v38.1
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
MITRE CWE Top 25

-

Exploits

Exploits are available either through exploit packs, Github repos or the world wide web in general.

Active Exploitation

Vulnerability is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. See the KEV Catalog

Social Network Activity

-

Threat Actor Activity

No sightings of the vulnerability within threat reports.

Cybersecurity Frameworks

How the vulnerability maps against various cybersecurity frameworks

T1499.004 - Endpoint Denial of Service (Application or System Exploitation)
T1203 - Exploitation for Client Execution
T1059 - Command and Scripting Interpreter

Compliance Impact

How the submited vulnerability affects compliance

-

Web Application Security Frameworks

Applicable if the issue likely affects a web application

-