High [CVE-2024-6409] Openssh: possible remote code execution due to a race condition in signal handling affecting red hat enterprise linux 9
This high-severity Red Hat Linux advisory covers CVE-2024-6409 affecting 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.
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.
Summary
A race condition vulnerability was discovered in how signals are handled by OpenSSH's server (sshd). If a remote attacker does not authenticate within a set time period, then sshd's SIGALRM handler is called asynchronously.
However, this signal handler calls various functions that are not async-signal-safe, for example, syslog(). As a consequence of a successful attack, in the worst case scenario, an attacker may be able to perform a remote code execution (RCE) as an unprivileged user running the sshd server.
Red Hat rates the severity of this flaw as Moderate for both Red Hat Enterprise Linux (RHEL) and OpenShift Container Platform (OCP). While there are many similarities to CVE-2024-6387, the important difference is that any possible remote code execution is limited to an unprivileged child of the SSHD server.
This additional restriction on access reduces the overall security impact. This vulnerability only affects the versions of OpenSSH shipped with Red Hat Enterprise Linux 9.
Upstream versions of sshd are not impacted by this flaw. The affected versions of OCP are 4.13, 4.14, 4.15, and 4.16 while 4.12 and earlier versions of OCP are not affected.
Weakness: CWE-364.
Affected versions
No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.
Official advisory · high-confidence parse· fetched 1 hour ago·verify at source
- openssh-0:8.7p1-38.el9_4.4
- openssh-0:8.7p1-12.el9_0.3
- openssh-0:8.7p1-30.el9_2.7
- rhcos-413.92.202408122222-0
- rhcos-414.92.202407300859-0
- rhcos-415.92.202407301159-0
- rhcos-416.94.202407171205-0
- RHSA-2024:4457
- RHSA-2024:4910
- RHSA-2024:4716
- RHSA-2024:5444
- RHSA-2024:4960
- RHSA-2024:4955
- RHSA-2024:4613
Official advisory · high-confidence parse· fetched 1 hour ago·verify at source
Mitigation checklist
- The process is identical to CVE-2024-6387, by disabling LoginGraceTime. See that CVE page for additional details.
Official advisory · high-confidence parse· fetched 1 hour ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.