Race condition in OpenSSH - CVE-2024-6409

 

Race condition in OpenSSH - CVE-2024-6409

Published: July 18, 2024


Vulnerability identifier: #VU94522
CSH Severity: High
CVSS v4: 9.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]
CVE-ID: CVE-2024-6409
CWE-ID: CWE-362
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.

Affected software

OpenSSH
Oracle Linux
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
IQ Engine
openEuler
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
pam_ssh_agent_auth
openssh (Red Hat package)
openssh-help
openssh
openssh-server
openssh-keycat
openssh-debugsource
openssh-debuginfo
openssh-askpass
openssh-clients
Red Hat OpenShift Dev Spaces
Red Hat OpenShift Container Platform
Storage Virtualize
IBM Security Guardium

How to mitigate CVE-2024-6409

Install updates from vendor's website.

OpenSSH - update to 9.8p1
IQ Engine - update to 10.8r3
pam_ssh_agent_auth - update to 0.10.4-4.32
Red Hat OpenShift Dev Spaces - update to 3.16.0
Red Hat OpenShift Container Platform - addressed in versions 4.12.63, 4.13.46, 4.13.48, 4.14.34, 4.15.25, 4.16.15, 4.17.0
openssh (Red Hat package) - addressed in versions 8.7p1-12.el9_0.3, 8.7p1-30.el9_2.7, 8.7p1-38.el9_4.4
Storage Virtualize - addressed in versions 8.7.0.3, 8.7.2.0
openssh-help - update to 8.8p1-32
openssh - update to 8.8p1-32
openssh-server - update to 8.8p1-32
openssh-keycat - update to 8.8p1-32
openssh-debugsource - update to 8.8p1-32
openssh-debuginfo - update to 8.8p1-32
openssh-askpass - update to 8.8p1-32
openssh-clients - update to 8.8p1-32
IBM Security Guardium - addressed in versions 12.0p15, 12.0p30

External References

Related Security Bulletins