High severity · published Aug 12, 2024
CVE-2024-7589
A signal handler in sshd(8) may call a logging function that is not async-signal-safe
8.1
CVSS
2%
EPSS
No
On KEV
Description
A signal handler in sshd(8) may call a logging function that is not async-signal-safe. The signal handler is invoked when a client does not authenticate within the LoginGraceTime seconds (120 by default). This signal handler executes in the context of the sshd(8)'s privileged code, which is not sandboxed and runs with full root privileges.
This issue is another instance of the problem in CVE-2024-6387 addressed by FreeBSD-SA-24:04.openssh. The faulty code in this case is from the integration of blacklistd in OpenSSH in FreeBSD.
As a result of calling functions that are not async-signal-safe in the privileged sshd(8) context, a race condition exists that a determined attacker may be able to exploit to allow an unauthenticated remote code execution as root.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.0% · higher than 81% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FR
Freebsd · Freebsd
before 13.0; 13.1 before 13.3; 13.3; 13.3; 13.3; 13.3; +13 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-7589
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-7589
Vendor Advisory
https://security.freebsd.org/advisories/FreeBSD-SA-24:08.openssh.asc
Not Applicable
https://www.cve.org/CVERecord?id=CVE-2006-5051
Third Party Advisory
https://www.cve.org/CVERecord?id=CVE-2024-6387
security.netapp.com
https://security.netapp.com/advisory/ntap-20240816-0002/
More from Freebsd
10.0
CVE-2024-43102
umtx Kernel panic or Use-After-Free
10.0
CVE-2018-17160
In FreeBSD before 11.2-STABLE(r341486) and 11.2-RELEASE-p6, insufficient bounds checking in one of the device models provided by bhyve can permit a guest operating system to…
9.8
CVE-2026-101306
Multiple jail filesystem root escapes
9.8
CVE-2026-58082
Stack based buffer overflow in iconv(3)
9.8
CVE-2026-58081
Heap based buffer overflow in iconv(3)
