{"id":"CVE-2024-7589","url":"https://www.cyber-defence.io/tools/cve/CVE-2024-7589","generatedAt":"2026-10-27T23:56:36.266Z","title":"This signal handler executes in the context of the sshd(8)'s privileged code, which is not sandboxed and runs with full root privileges.","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.\n\nThis 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.\n\nAs 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":"2024-08-12T13:38:44.000Z","lastModified":"2026-06-17T08:20:30.000Z","status":"Modified","sourceIdentifier":"secteam@freebsd.org","cvss":{"version":"3.1","score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-362","CWE-364"],"affected":["freebsd/freebsd"],"epss":{"score":0.02038,"percentile":0.80972,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (2.04%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-24:08.openssh.asc","tags":["Vendor Advisory"],"source":"secteam@freebsd.org"},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-5051","tags":["Not Applicable"],"source":"secteam@freebsd.org"},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-6387","tags":["Third Party Advisory"],"source":"secteam@freebsd.org"},{"url":"https://security.netapp.com/advisory/ntap-20240816-0002/","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-7589","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}