CVE-2024-7589
published high CVSS 3.1 · 8.1OpenSSH pre-authentication async signal safety issue
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FreeBSD | — | FreeBSD14.1-RELEASE to < p3 · 14.0-RELEASE to < p9 · 13.3-RELEASE to < p5 · Other versions: unknown | Affected | Not stated | freebsd |
| freebsd | — | freebsd13.3 to < 13.3_release_p5 · 14.0 to < 14.0_release_p9 · 14.1 to < 14.1_release_p3 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FreeBSD | FreeBSD | 14.1-RELEASE to < p3 (affected · release)14.0-RELEASE to < p9 (affected · release)13.3-RELEASE to < p5 (affected · release)Default: unknown | freebsd · cna |
| freebsd | freebsd | 13.3 to < 13.3_release_p5 (affected · custom)14.0 to < 14.0_release_p9 (affected · custom)14.1 to < 14.1_release_p3 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-364 CWE-364 Signal Handler Race Condition
References
4Provider assertions
3freebsd · cna
OpenSSH pre-authentication async signal safety issue
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- be02c6e7760e97402a6aa2224186ce38a2e28f9f8a1535e1c86475af9d2251db
- Ingested
- 23 Sep 2026, 08:33:51 UTC
- Source record
- Official CVE record