CVE-2024-7589

OpenSSH pre-authentication async signal safety issue

HIGH
8.1
CVSS Score
Published: August 11, 2024 at 03:15 AM UTC
Updated: June 17, 2026 at 08:20 AM UTC
1 product affected across 1 vendorFreeBSD

Using FreeBSD by FreeBSD?

Get instant alerts when new vulnerabilities affect FreeBSD - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.1
Exploit prediction
EPSS 2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 13.013.1 ≤ v < 13.313.3 ≤ v < 13.3_release_p513.3-RELEASE ≤ v < p514.0 ≤ v < 14.0_release_p914.0-RELEASE ≤ v < p914.1 ≤ v < 14.1_release_p314.1-RELEASE ≤ v < p313.313.3 p113.3 p213.3 p313.3 p413.3-RELEASE14.014.0 beta514.0 p114.0 p214.0 p314.0 p414.0 p514.0 p614.0 p714.0 p814.0 rc314.0 rc4-p114.0-RELEASE14.114.1 p114.1 p214.1-RELEASE
Affected range stops below 13.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 13.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 13.3_release_p5, so it looks safe — our inference, not a vendor statement
Affected range stops below 14.0_release_p9, so it looks safe — our inference, not a vendor statement
Affected range stops below 14.1_release_p3, so it looks safe — our inference, not a vendor statement
Affected range stops below p3, so it looks safe — our inference, not a vendor statement
Affected range stops below p5, so it looks safe — our inference, not a vendor statement
Affected range stops below p9, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.1HIGHCISA-ADP
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362CWE-364

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card