CVE-2024-6409
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 9 | 0:8.7p1-38.el9_4.4 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9 | 0:8.7p1-38.el9_4.4 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | 0:8.7p1-12.el9_0.3 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 0:8.7p1-30.el9_2.7 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 413.92.202408122222-0 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.14 | 414.92.202407300859-0 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.15 | 415.92.202407301159-0 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.16 | 416.94.202407171205-0 < * | unaffected |
Weaknesses
- CWE-364: Signal Handler Race Condition
Workarounds
The process is identical to CVE-2024-6387, by disabling LoginGraceTime. See that CVE page for additional details.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
CVE Program Container
Additional References
- http://www.openwall.com/lists/oss-security/2024/07/08/2
- 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
- https://access.redhat.com/errata/RHSA-2024:4457
- https://access.redhat.com/errata/RHSA-2024:4613
- https://access.redhat.com/errata/RHSA-2024:4716
- https://access.redhat.com/security/cve/CVE-2024-6409
- https://almalinux.org/blog/2024-07-09-cve-2024-6409/
- https://bugzilla.redhat.com/show_bug.cgi?id=2295085
- https://bugzilla.suse.com/show_bug.cgi?id=1227217
- https://explore.alas.aws.amazon.com/CVE-2024-6409.html
- https://github.com/openela-main/openssh/commit/c00da7741d42029e49047dd89e266d91dcfbffa0
- https://security-tracker.debian.org/tracker/CVE-2024-6409
- https://security.netapp.com/advisory/ntap-20240712-0003/
- https://sig-security.rocky.page/issues/CVE-2024-6409/
- https://ubuntu.com/security/CVE-2024-6409
- https://www.suse.com/security/cve/CVE-2024-6409.html
References
- https://access.redhat.com/errata/RHSA-2024:4457
- https://access.redhat.com/errata/RHSA-2024:4613
- https://access.redhat.com/errata/RHSA-2024:4716
- https://access.redhat.com/errata/RHSA-2024:4910
- https://access.redhat.com/errata/RHSA-2024:4955
- https://access.redhat.com/errata/RHSA-2024:4960
- https://access.redhat.com/errata/RHSA-2024:5444
- https://access.redhat.com/security/cve/CVE-2024-6409
- https://bugzilla.redhat.com/show_bug.cgi?id=2295085
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.