8.1

CVE-2024-7589

OpenSSH pre-authentication async signal safety issue

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Freebsd ≫ Freebsd Version < 13.0
Freebsd ≫ Freebsd Version >= 13.1 < 13.3
Freebsd ≫ Freebsd Version 13.3 Update p1
Freebsd ≫ Freebsd Version 13.3 Update p2
Freebsd ≫ Freebsd Version 13.3 Update p3
Freebsd ≫ Freebsd Version 13.3 Update p4
Freebsd ≫ Freebsd Version 14.0 Update beta5
Freebsd ≫ Freebsd Version 14.0 Update p1
Freebsd ≫ Freebsd Version 14.0 Update p2
Freebsd ≫ Freebsd Version 14.0 Update p3
Freebsd ≫ Freebsd Version 14.0 Update p4
Freebsd ≫ Freebsd Version 14.0 Update p5
Freebsd ≫ Freebsd Version 14.0 Update p6
Freebsd ≫ Freebsd Version 14.0 Update p7
Freebsd ≫ Freebsd Version 14.0 Update p8
Freebsd ≫ Freebsd Version 14.0 Update rc3
Freebsd ≫ Freebsd Version 14.0 Update rc4-p1
Freebsd ≫ Freebsd Version 14.1 Update p1
Freebsd ≫ Freebsd Version 14.1 Update p2
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 2.04% 0.786
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
NIST 8.1 2.2 5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA-ADP 8.1 2.2 5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

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 concurrently.

CWE-364 Signal Handler Race Condition

The product uses a signal handler that introduces a race condition.

https://security.freebsd.org/advisories/FreeBSD-SA-24:08.openssh.asc
Vendor Advisory
https://www.cve.org/CVERecord?id=CVE-2006-5051
Not Applicable
https://www.cve.org/CVERecord?id=CVE-2024-6387
Third Party Advisory
https://security.netapp.com/advisory/ntap-20240816-0002/