Vulnerability · Published Jul 8, 2024 · Assigned by redhat
CVE-2024-6409Openssh: possible remote code execution due to a race condition in signal handling affecting red hat enterprise linux 9
High 7.0
In plain English
A high-severity security flaw in OpenSSH. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 27.9% (higher than 98% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | openssh | 8.7p1-38.el9_4.4 | ALSA-2024:4457 |
| AlmaLinux:9 | openssh-askpass | 8.7p1-38.el9_4.4 | ALSA-2024:4457 |
| AlmaLinux:9 | openssh-clients | 8.7p1-38.el9_4.4 | ALSA-2024:4457 |
| AlmaLinux:9 | openssh-keycat | 8.7p1-38.el9_4.4 | ALSA-2024:4457 |
| AlmaLinux:9 | openssh-server | 8.7p1-38.el9_4.4 | ALSA-2024:4457 |
| AlmaLinux:9 | pam_ssh_agent_auth | 0.10.4-5.38.el9_4.4 | ALSA-2024:4457 |
| Rocky Linux:9 | openssh | 0:8.7p1-38.el9_4.4 | RLSA-2024:4457 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| OpenSSH | see references | |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | see references |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.14 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.15 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.16 | see references |
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
Weakness: CWE-364 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
References
- RHSA-2024:4457 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:4613 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:4716 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:4910 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:4955 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:4960 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:5444 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-6409 vdb-entry, x_refsource_REDHAT
- RHBZ#2295085 issue-tracking, x_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2024/07/08/2 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/09/2 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/09/5 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/10/1 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/10/2 x_transferred
- https://almalinux.org/blog/2024-07-09-cve-2024-6409/ x_transferred
- https://bugzilla.suse.com/show_bug.cgi?id=1227217 x_transferred
- https://explore.alas.aws.amazon.com/CVE-2024-6409.html x_transferred
- https://github.com/openela-main/openssh/commit/c00da7741d42029e49047dd89e266d91dcfbffa0 x_transferred
- https://security-tracker.debian.org/tracker/CVE-2024-6409 x_transferred
- https://security.netapp.com/advisory/ntap-20240712-0003/ x_transferred
- https://sig-security.rocky.page/issues/CVE-2024-6409/ x_transferred
- https://ubuntu.com/security/CVE-2024-6409 x_transferred
- https://www.suse.com/security/cve/CVE-2024-6409.html x_transferred
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html