Skip to main content
Network Thinking Solutions Logo

CVE-2024-7589

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.

All CVEs
CVE-2024-7589Published 8/12/2024

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.

Vendor advisory
CVSS8.1High

Overview

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.

Published
8/12/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
freebsd
freebsd
< 13.0

Verify advisory

Source
freebsd
freebsd
≥ 13.1, < 13.3

Verify advisory

Source
freebsd
freebsd
13.3

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
freebsd
freebsd
14.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
freebsd
freebsd
14.1

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
FreeBSD
FreeBSD
≥ 14.1-RELEASE, < p3

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
FreeBSD
FreeBSD
≥ 14.0-RELEASE, < p9

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
FreeBSD
FreeBSD
≥ 13.3-RELEASE, < p5

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
freebsd
freebsd
≥ 13.3, < 13.3_release_p5

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
freebsd
freebsd
≥ 14.0, < 14.0_release_p9

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
freebsd
freebsd
≥ 14.1, < 14.1_release_p3

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.