inaabi / Advisories / CVE-2024-6387

CVE-2024-6387

OpenSSH sshd could mishandle signals during login

Ubuntu reports a race in OpenSSH's server, sshd. A remote attacker who never signs in may be able to hit it by failing the login grace timer. Ubuntu rates it high, with a CVSS 3.1 base score of 8.1.

Where Ubuntu says it applies

What an administrator can do

Install the updated openssh packages from Ubuntu for the release you run, then restart sshd so the running server is the fixed one. Ubuntu also documents a mitigation: set LoginGraceTime to 0 in /etc/ssh/sshd_config. Ubuntu notes that this mitigation stops this issue and leaves sshd open to a denial of service if too many unfinished logins pile up. This page does not describe how to trigger the race.

The shipped Inaabi code does not fix or detect this CVE.

Sources