CVE-2024-7589: OpenSSH pre-authentication async signal safety issue

Published Aug 11, 2024
·
Updated

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.

Affected Software

19 affected components
FreeBSD FreeBSD<13.0
FreeBSD FreeBSD>=13.1<13.3
FreeBSD FreeBSD=13.3-p1
FreeBSD FreeBSD=13.3-p2
FreeBSD FreeBSD=13.3-p3
FreeBSD FreeBSD=13.3-p4
FreeBSD FreeBSD=14.0-beta5
FreeBSD FreeBSD=14.0-p1
FreeBSD FreeBSD=14.0-p2
FreeBSD FreeBSD=14.0-p3
FreeBSD FreeBSD=14.0-p4
FreeBSD FreeBSD=14.0-p5
FreeBSD FreeBSD=14.0-p6
FreeBSD FreeBSD=14.0-p7
FreeBSD FreeBSD=14.0-p8
FreeBSD FreeBSD=14.0-rc3
FreeBSD FreeBSD=14.0-rc4-p1
FreeBSD FreeBSD=14.1-p1
FreeBSD FreeBSD=14.1-p2

Event History

Aug 11, 2024
CVE Published
via MITRE·03:15 AM
Data Sourced
via MITRE·03:15 AM
Description
Aug 12, 2024
Data Sourced
via NVD·01:38 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-7589?

CVE-2024-7589 has a medium severity rating due to potential issues with asynchronous signal safety in the sshd process.

2

How do I fix CVE-2024-7589?

To fix CVE-2024-7589, update your FreeBSD systems to a version that has patched this vulnerability.

3

Which versions of FreeBSD are affected by CVE-2024-7589?

CVE-2024-7589 affects FreeBSD versions up to 13.0 and versions in the 13.1 to 14.1 range.

4

What does the signal handler issue in CVE-2024-7589 involve?

The signal handler in CVE-2024-7589 may call a logging function that is not async-signal-safe, potentially leading to system instability.

5

How can I determine if my FreeBSD system is vulnerable to CVE-2024-7589?

You can determine if your FreeBSD system is vulnerable to CVE-2024-7589 by checking your version against the affected versions listed for this vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203