#VU94522 Race condition in OpenSSH - CVE-2024-6409


Vulnerability identifier: #VU94522

Vulnerability risk: High

CVSSv4.0: 7.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2024-6409

CWE-ID: CWE-362

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
OpenSSH
Server applications / Remote management servers, RDP, SSH

Vendor: OpenSSH

Description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to a race condition in portable version of sshd when handling signals. If a remote attacker does not authenticate within a set time period, then sshd's SIGALRM handler is called asynchronously. A remote non-authenticated attacker can send a series of requests in order to trigger a race condition and execute arbitrary code on the system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

OpenSSH: 8.7p1 - 9.7p1


External links
https://access.redhat.com/security/cve/CVE-2024-6409
https://bugzilla.redhat.com/show_bug.cgi?id=2295085
https://www.openwall.com/lists/oss-security/2024/07/08/2
https://explore.alas.aws.amazon.com/CVE-2024-6409.html
https://sig-security.rocky.page/issues/CVE-2024-6409/
https://ubuntu.com/security/CVE-2024-6409
https://security-tracker.debian.org/tracker/CVE-2024-6409
https://www.openwall.com/lists/oss-security/2024/07/09/2
https://www.openwall.com/lists/oss-security/2024/07/09/5
https://bugzilla.suse.com/show_bug.cgi?id=1227217
https://www.suse.com/security/cve/CVE-2024-6409.html
https://almalinux.org/blog/2024-07-09-cve-2024-6409/
https://www.openwall.com/lists/oss-security/2024/07/10/1
https://www.openwall.com/lists/oss-security/2024/07/10/2
https://github.com/openela-main/openssh/commit/c00da7741d42029e49047dd89e266d91dcfbffa0
https://security.netapp.com/advisory/ntap-20240712-0003/
https://access.redhat.com/errata/RHSA-2024:4457


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability