CVE-2024-6409

Openssh: possible remote code execution due to a race condition in signal handling affecting red hat enterprise linux 9

State
Published
Severity
7.0 High
Published
Jul 8, 2024
Updated
Oct 15, 2026
Reserved
Jun 28, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.0 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:Hredhat

Weaknesses

  • CWE-364 Signal Handler Race Condition

Affected Products

ProductVersions
OpenSSH
    Red Hat Enterprise Linux 9Red Hat
    • 0:8.7p1-38.el9_4.4 and laterNot affected
    Red Hat Enterprise Linux 9Red Hat
    • 0:8.7p1-38.el9_4.4 and laterNot affected
    Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRed Hat
    • 0:8.7p1-12.el9_0.3 and laterNot affected
    Red Hat Enterprise Linux 9.2 Extended Update SupportRed Hat
    • 0:8.7p1-30.el9_2.7 and laterNot affected
    Red Hat OpenShift Container Platform 4.13Red Hat
    • 413.92.202408122222-0 and laterNot affected
    Red Hat OpenShift Container Platform 4.14Red Hat
    • 414.92.202407300859-0 and laterNot affected
    Red Hat OpenShift Container Platform 4.15Red Hat
    • 415.92.202407301159-0 and laterNot affected
    Red Hat OpenShift Container Platform 4.16Red Hat
    • 416.94.202407171205-0 and laterNot affected
    Red Hat Enterprise Linux 10Red Hat
      Red Hat Enterprise Linux 6Red Hat
        Red Hat Enterprise Linux 7Red Hat
          Red Hat Enterprise Linux 8Red Hat

            References

            Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.