CVE-2024-7589 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 12, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://security.netapp.com/advisory/ntap-20240816-0002/ | CVE | |
| https://security.freebsd.org/advisories/FreeBSD-SA-24:08.openssh.asc | [email protected] | Vendor Advisory |
| https://www.cve.org/CVERecord?id=CVE-2006-5051 | [email protected] | Not Applicable |
| https://www.cve.org/CVERecord?id=CVE-2024-6387 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
| CWE-364 | Signal Handler Race Condition | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| freebsd freebsd | < 13.0 >= 13.1, < 13.3 13.3 p1 13.3 p2 13.3 p3 13.3 p4 14.0 beta5 14.0 p1 14.0 p2 14.0 p3 14.0 p4 14.0 p5 14.0 p6 14.0 p7 14.0 p8 14.0 rc3 14.0 rc4-p1 14.1 p1 14.1 p2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| Aug 13, 2024 | Initial Analysis | [email protected] |
| Aug 12, 2024 | CVE Modified | CISA-ADP |
| Aug 12, 2024 | New CVE Received | [email protected] |