CVE-2024-6409

high

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://www.theregister.com/2024/07/11/openssh_bug_in_rhel_9/

https://securityaffairs.com/165535/hacking/openssh-flaw-cve-2024-6409.html

https://www.openwall.com/lists/oss-security/2024/07/10/2

https://securityaffairs.com/165535/hacking/openssh-flaw-cve-2024-6409.html?web_view=true

https://www.openwall.com/lists/oss-security/2024/07/08/2

https://www.suse.com/security/cve/CVE-2024-6409.html

https://ubuntu.com/security/CVE-2024-6409

https://sig-security.rocky.page/issues/CVE-2024-6409/

https://security.netapp.com/advisory/ntap-20240712-0003/

https://security-tracker.debian.org/tracker/CVE-2024-6409

https://github.com/openela-main/openssh/commit/c00da7741d42029e49047dd89e266d91dcfbffa0

https://explore.alas.aws.amazon.com/CVE-2024-6409.html

https://bugzilla.suse.com/show_bug.cgi?id=1227217

https://bugzilla.redhat.com/show_bug.cgi?id=2295085

https://almalinux.org/blog/2024-07-09-cve-2024-6409/

https://access.redhat.com/security/cve/CVE-2024-6409

https://access.redhat.com/errata/RHSA-2024:4457

http://www.openwall.com/lists/oss-security/2024/07/10/2

http://www.openwall.com/lists/oss-security/2024/07/10/1

http://www.openwall.com/lists/oss-security/2024/07/09/5

http://www.openwall.com/lists/oss-security/2024/07/09/2

http://www.openwall.com/lists/oss-security/2024/07/08/2

Details

Source: Mitre, NVD

Published: 2024-07-08

Updated: 2024-07-13

Risk Information

CVSS v2

Base Score: 6.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:C

Severity: Medium

CVSS v3

Base Score: 7

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H

Severity: High