CVE-2024-6409
7.0HighPublished Jul 8, 2024 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User action
- None
- Impact
- High impact on availability
- Weakness
- CWE-364
What an attacker gets
Remote attackers can achieve code execution as the sshd user. This requires the attacker to win a race condition during the authentication timeout window.
Root cause
The sshd SIGALRM handler calls non-async-signal-safe functions like syslog() asynchronously.
Affected versions
Versions not listed — check the vendor advisory for your specific distribution.
CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
Fix & remediation
Upgrade your openssh-server package to the version provided by your distribution vendor. As a temporary mitigation, set LoginGraceTime to 0 in /etc/ssh/sshd_config to disable the timeout, though this may increase vulnerability to resource exhaustion.
$ sudo apt-get update && sudo apt-get install --only-upgrade openssh-serverAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
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
- 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/
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1366128.8HighAuthenticated users can steal Kiali's cluster-wide ServiceAccount token to gain elevated privileges. The attacker only needs permission to view the control-plane namespace to trigger the credential leak.
- CVE-2026-1424417.5HighRemote attackers can bypass IP access control lists to reach protected services. This occurs because the filter fails to correctly evaluate nested network range rules.
- CVE-2026-1415177.8HighLocal attackers can escape a sandboxed workload to execute code as the invoking user. This requires the attacker to control a sandboxed workload and manipulate the containment helper during a launch rebuild.
- CVE-2026-1043757.1HighAttackers can execute arbitrary JavaScript in users' browsers by exploiting the polyfill.io supply chain compromise. This requires a user to visit the affected demo page.
- CVE-2026-54328.1HighAdjacent attackers can crash Honeywell controllers or cause data integrity issues. This requires network access to the control network.
- CVE-2026-54318.1HighAdjacent attackers can achieve remote code execution by manipulating writable configuration files. This requires network access to the affected Honeywell industrial control systems.