← Back

CVE-2024-7589

nvd nist
Published: Aug 12, 2024Modified: Jun 17, 2026

JSON object

Loading...
8.1
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploitability: 2.2 / Impact: 5.9
Source: NVD

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.

Affected (19)

Products: Freebsd: Freebsd
1 product
Freebsd
Configuration A
19 vulnerable
Vulnerable SoftwareAffected Versions
Freebsd
Before 13.0
From 13.1 to 13.3
Version 13.3 p1
Version 13.3 p2
Version 13.3 p3
Version 13.3 p4
Version 14.0 beta5
Version 14.0 p1
Version 14.0 p2
Version 14.0 p3
Version 14.0 p4
Version 14.0 p5
Version 14.0 p6
Version 14.0 p7
Version 14.0 p8
Version 14.0 rc3
Version 14.0 rc4-p1
Version 14.1 p1
Version 14.1 p2

References (4)

Source: secteam@freebsd.org
Not Applicable
Source: secteam@freebsd.org
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108

Timeline

No history available yet.