OpenSSH pre-authentication async signal safety issue
Published Aug 11, 2024
8.1
HIGHCVSS 3.1
EPSS 2.04%
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 products
-
- Version 13.3-RELEASEStatusaffectedConstraints<p5
- Version 14.0-RELEASEStatusaffectedConstraints<p9
- Version 14.1-RELEASEStatusaffectedConstraints<p3
- Version
- < 13.0
- ≥ 13.1 · < 13.3
- 13.3
- 13.3
- 13.3
- 13.3
- 14.0
- 14.0
- 14.0
- 14.0
- 14.0
- 14.0
- 14.0
- 14.0
- 14.0
- 14.0
- 14.0
- 14.1
- 14.1
-
- Version 13.3StatusaffectedConstraints<13.3_release_p5
- Version 14.0StatusaffectedConstraints<14.0_release_p9
- Version 14.1StatusaffectedConstraints<14.1_release_p3
- Version
Red Hat Enterprise Linux 10
openssh
Not affected
Red Hat Enterprise Linux 6
openssh
Not affected
Red Hat Enterprise Linux 7
openssh
Not affected
Red Hat Enterprise Linux 8
openssh
Not affected
Red Hat Enterprise Linux 9
openssh
Not affected
Red Hat OpenShift Container Platform 4
rhcos
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | openssh | Not affected | n/a |
| Red Hat Enterprise Linux 6 | openssh | Not affected | n/a |
| Red Hat Enterprise Linux 7 | openssh | Not affected | n/a |
| Red Hat Enterprise Linux 8 | openssh | Not affected | n/a |
| Red Hat Enterprise Linux 9 | openssh | Not affected | n/a |
| Red Hat OpenShift Container Platform 4 | rhcos | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This vulnerability is specific to the FreeBSD distribution of OpenSSH. Red Hat Products are not affected.
References (9)
- https://access.redhat.com/security/cve/CVE-2024-7589 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2304416 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-48485 Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2024-7589
- https://security.freebsd.org/advisories/FreeBSD-SA-24:08.openssh.asc vendor-advisoryVendor Advisory
- https://security.netapp.com/advisory/ntap-20240816-0002/
- https://www.cve.org/CVERecord?id=CVE-2006-5051 relatedNot Applicable
- https://www.cve.org/CVERecord?id=CVE-2024-6387 relatedThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2024-7589
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2024-7589 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2304416 | Issue Tracking | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-48485 | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-7589 | ||
| https://security.freebsd.org/advisories/FreeBSD-SA-24:08.openssh.asc | vendor-advisoryVendor Advisory | |
| https://security.netapp.com/advisory/ntap-20240816-0002/ | ||
| https://www.cve.org/CVERecord?id=CVE-2006-5051 | relatedNot Applicable | |
| https://www.cve.org/CVERecord?id=CVE-2024-6387 | relatedThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2024-7589 |
Change history (0)
No recorded changes yet.