We discovered a vulnerability (a signal handler race condition) in OpenSSH's server (sshd): if a client does not authenticate within LoginGraceTime seconds (120 by default, 600 in old OpenSSH versions), then sshd's SIGALRM handler is called asynchronously, but this signal handler calls various functions that are not async-signal-safe (for example, syslog()). On investigation, we realized that this vulnerability is in fact a regression of CVE-2006-5051 ("Signal handler race condition in OpenSSH before 4.4 allows remote attackers to cause a denial of service (crash), and possibly execute arbitrary code"), which was reported in 2006 by Mark Dowd. This regression was introduced in October 2020 (OpenSSH 8.5p1) by commit 752250c ("revised log infrastructure for OpenSSH"), which accidentally removed an "#ifdef DO_LOG_SAFE_IN_SIGHAND" from sigdie(), a function that is directly called by sshd's SIGALRM handler.
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2024:4312 https://access.redhat.com/errata/RHSA-2024:4312
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.2 Extended Update Support Via RHSA-2024:4340 https://access.redhat.com/errata/RHSA-2024:4340
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions Via RHSA-2024:4389 https://access.redhat.com/errata/RHSA-2024:4389
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.14 Via RHSA-2024:4479 https://access.redhat.com/errata/RHSA-2024:4479
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.13 Via RHSA-2024:4484 https://access.redhat.com/errata/RHSA-2024:4484
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.15 Via RHSA-2024:4474 https://access.redhat.com/errata/RHSA-2024:4474
(In reply to errata-xmlrpc from comment #19) > This issue has been addressed in the following products: > > Red Hat OpenShift Container Platform 4.15 > https://retrobowl25.com > Via RHSA-2024:4474 https://access.redhat.com/errata/RHSA-2024:4474 Hope these errors don't happen again.
This comment was flagged as spam, view the edit history to see the original text if required.