CVE-2024-7589
highpriority · track · 33EPSS 0.020 · 81 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (17)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-1793FreeBSD Project FreeBSD OS: Mehrere SchwachstellenDeutsch2024-08-07csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in FreeBSD Project FreeBSD OS ausnutzen, um Sicherheitsvorkehrungen zu umgehen, vertrauliche Informationen preiszugeben, Dateien zu verändern und beliebigen Code als root auszuführen.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-7589/cnnvd
- https://security.freebsd.org/advisories/FreeBSD-SA-24:08.openssh.asccnnvd
- https://vigilance.fr/vulnerability/FreeBSD-privilege-escalation-via-OpenSSH-Pre-authentication-Async-Signal-44884cnnvd
- https://www.cve.org/CVERecord?id=CVE-2006-5051cnnvd
- https://www.cve.org/CVERecord?id=CVE-2024-6387cnnvd
- https://security.freebsd.org/advisories/FreeBSD-SA-24:08.openssh.ascenisa_euvd
- https://www.cve.org/CVERecord?id=CVE-2006-5051enisa_euvd
- https://www.cve.org/CVERecord?id=CVE-2024-6387enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan