CVE-2024-7589
Beskrivelse
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.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
- Publisert
- 2024-08-12
- Sist endret
- 2026-06-17
- Tildelt av
- secteam@freebsd.org
- CVSS-vektor
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- Scoret av
- nvd@nist.gov (NVD Primary)
- Sannsynlighet for utnyttelse
-
2.0 %
høyere enn 79 %
av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15 - Rettelse finnes
- Ikke registrert hos kildene
Berørte produkter
| Leverandør | Produkt | Versjoner | Status |
|---|---|---|---|
| Freebsd | Freebsd | < 13.0 | Berørt |
| Freebsd | Freebsd | 13.3 | Berørt |
| Freebsd | Freebsd | 14.0 | Berørt |
| Freebsd | Freebsd | 14.1 | Berørt |
| Freebsd | Freebsd | ≥ 13.1, < 13.3 | Berørt |
Svakhetstype
-
CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating …
-
CWE-364: Signal Handler Race Condition
The product uses a signal handler that introduces a race condition.
Referanser
- https://security.freebsd.org/advisories/FreeBSD-SA-24:08.openssh.asc
- https://www.cve.org/CVERecord?id=CVE-2006-5051
- https://www.cve.org/CVERecord?id=CVE-2024-6387
- https://security.netapp.com/advisory/ntap-20240816-0002/
Relatert hos Berigo
Artikler
-
Sårbarhet i FreeBSD lar lokale brukere overskrive filer
Samme produkt
2026-06-06
CVE-2026-45257 i FreeBSDs kernel-TLS gjør at en lokal bruker med lesetilgang kan overskrive innholdet i en fil, og dermed eskalere rettigheter.
Berører dette dere?
En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.