CVE-2024-6387: Openssh: regresshion - race condition in ssh allows rce/dos

CVE-2024-6387 affects 407 listed versions of OpenSSH, Apple macOS, Fortinet FortiAnalyzer and 12 more products in the Dawnsentry catalogue.

8.1CVSS high
Proof of concept publicexploitation
100%EPSS (next 30 days)
1 July 2024published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

OpenSSH

92 of 193 listed versions are affected. No fixed release is named. The newest release, 10.6 P2, is not affected.

9.8 9.7 P1 9.7 9.6 P1 9.6 9.5 P1 9.4 P1 9.3 P2 9.3 P1 9.3 9.2 P1 9.1 P1 9.1 9.0 P1 8.9 P1 8.9 8.8 P1 8.8 8.7 P1 8.7 8.6 P1 8.6 8.5 P1 4.4 P1 4.4 4.3 P2 4.3 P1 4.3 4.2 P1 4.2 4.1 P1 4.1 4.0 P1 4.0 3.9.1 P1 3.9.1 3.9 P1 3.9 3.8.1 P1 3.8.1 3.8 P1 3.8 3.7.1 P2 3.7.1 P1 3.7.1 3.7 P1 3.7 3.6.1 P2 3.6.1 P1 3.6.1 3.6 P1 3.6 3.5 P1 3.5 3.4 P1 3.4 3.3 P1 3.3 3.2.3 P1 3.2.2 P1 and 32 more

Apple macOS

61 of 250 listed versions are affected. Fixed in 14.6, 13.6.8, 12.7.6. The newest release, 27.2.1, is not affected.

14.5 14.4.1 14.4 14.3.1 14.3 14.2.1 14.2 14.1.2 14.1.1 14.1 14.0 14 13.6.7 13.6.6 13.6.5 13.6.4 13.6.3 13.6.2 13.6.1 13.6 13.5.2 13.5.1 13.5 13.4.1 13.4 13.3.3 13.3.1 13.3 13.2.1 13.2 13.1 13.0.1 13.0 13 12.7.5 12.7.4 12.7.3 12.7.2 12.7.1 12.7 12.6.9 12.6.8 12.6.7 12.6.6 12.6.5 12.6.4 12.6.3 12.6.2 12.6.1 12.6 12.5.1 12.5 12.4 12.3.1 12.3 12.2.1 12.2 12.1 12.0.1 12.0.0 and 1 more

Fortinet FortiAnalyzer

36 of 145 listed versions are affected. Fixed in 7.4.4. The newest release, 8.0.3, is not affected.

7.4.3 7.4.2 7.4.1 7.4.0 7.4 7.2.5 7.2.4 7.2.3 7.2.2 7.2.1 7.2.0 7.0.12 7.0.11 7.0.10 7.0.9 7.0.8 7.0.7 7.0.6 7.0.5 7.0.4 7.0.3 7.0.2 6.4.14 6.4.13 6.4.12 6.4.11 6.4.10 6.4.9 6.4.8 6.4.7 6.4.6 6.4.5 6.4.4 6.4.3 6.4.2 6.4.1

Fortinet FortiManager

36 of 119 listed versions are affected. Fixed in 7.0.13, 6.4.15. The newest release, 8.0.3, is not affected.

7.4.3 7.4.2 7.4.1 7.4.0 7.4 7.2.5 7.2.4 7.2.3 7.2.2 7.2.1 7.2.0 7.0.12 7.0.11 7.0.10 7.0.9 7.0.8 7.0.7 7.0.6 7.0.5 7.0.4 7.0.3 7.0.2 6.4.14 6.4.13 6.4.12 6.4.11 6.4.10 6.4.9 6.4.8 6.4.7 6.4.6 6.4.5 6.4.4 6.4.3 6.4.2 6.4.1

Fortinet FortiMail

30 of 136 listed versions are affected. Fixed in 7.4.3, 7.2.7, 7.0.8, 6.4.9. The newest release, 8.0.3, is not affected.

7.4.2 7.4.1 7.4.0 7.4 7.2.6 7.2.5 7.2.4 7.2.3 7.2.2 7.2.1 7.2.0 7.2 7.0.7 7.0.6 7.0.5 7.0.4 7.0.3 7.0.2 7.0.1 7.0.0 7.0 6.4.8 6.4.7 6.4.6 6.4.5 6.4.4 6.4.2 6.4.1 6.4.0 6.4

Fortinet FortiSandbox

28 of 81 listed versions are affected. Fixed in 4.4.7, 4.2.8, 4.0.6. The newest release, 5.2.2, is not affected.

4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.4 4.2.7 4.2.6 4.2.5 4.2.4 4.2.3 4.2.2 4.2.1 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 4.0.0 4.0 3.2.4 3.2.3 3.2.2 3.2.1 3.2.0 3.2

FreeBSD

28 of 250 listed versions are affected. No fixed release is named. The newest release, 15.1-p7, is not affected.

14.1-p1 14.1 14.0-p7 14.0-p6 14.0-p5 14.0-p4 14.0-p3 14.0-p2 14.0-p1 14.0 14.0-rc4-p1 14.0-rc3 13.3-p3 13.3-p2 13.3-p1 13.3 13.2-p11 13.2-p10 13.2-p9 13.2-p8 13.2-p7 13.2-p6 13.2-p5 13.2-p4 13.2-p3 13.2-p2 13.2-p1 13.2

Aruba AOS-CX

22 of 111 listed versions are affected. Fixed in 10.14.0007, 10.13.1031, 10.10.1131. The newest release, 10.19.0000, is not affected.

10.14.0006 10.13.1030 10.13.1010 10.13.1005 10.12.1050 10.12.1030 10.12.1021 10.12.0006 10.11.1070 10.11.1021 10.11.1010 10.11.1005 10.11.0010 10.11.0001 10.10.1130 10.10.1110 10.10.1100 10.10.1070 10.10.1060 10.10.1050 10.10.1030 10.10.1020

Fortinet FortiWeb

19 of 151 listed versions are affected. Fixed in 7.6.1, 7.4.5. The newest release, 8.0.8, is not affected.

7.6.0 7.6 7.4.4 7.4.3 7.4.2 7.4.1 7.4.0 7.4 7.2.9 7.2.8 7.2.7 7.2.6 7.2.5 7.2.4 7.2.3 7.2.2 7.2.1 7.2.0 7.2

Fortinet FortiADC

14 of 137 listed versions are affected. Fixed in 7.4.5, 7.2.7. The newest release, 8.0.4, is not affected.

7.4.4 7.4.3 7.4.2 7.4.1 7.4.0 7.4 7.2.6 7.2.5 7.2.4 7.2.3 7.2.2 7.2.1 7.2.0 7.2

Fortinet FortiSwitchOS

14 of 102 listed versions are affected. No fixed release is named. The newest release, 8.0, is not affected.

7.4.3 7.4.1 7.4.0 7.4 7.2.8 7.2.7 7.2.6 7.2.5 7.2.4 7.2.3 7.2.2 7.2.1 7.2.0 7.2

Fortinet FortiVoice

13 of 69 listed versions are affected. Fixed in 7.0.3, 6.4.10. The newest release, 8.0.2, is not affected.

7.0.2 7.0.1 7.0.0 7.0 6.4.9 6.4.8 6.4.7 6.4.4 6.4.3 6.4.2 6.4.1 6.4.0 6.4

Fortinet FortiNAC

10 of 95 listed versions are affected. No fixed release is named. The newest release, 9.4.8, is not affected.

7.4.0 7.4 7.2.6 7.2.5 7.2.4 7.2.3 7.2.2 7.2.1 7.2.0 7.2

Fortinet FortiAuthenticator

3 of 68 listed versions are affected. Fixed in 6.6.2. The newest release, 8.0.4, is not affected.

6.6.1 6.6.0 6.6

Arista EOS

1 of 250 listed versions are affected. No fixed release is named. The newest release, 4.37.0F, is not affected.

4.32.1F

What it is

A security regression (CVE-2006-5051) was discovered in OpenSSH's server (sshd). There is a race condition which can lead sshd to handle some signals in an unsafe manner. An unauthenticated, remote attacker may be able to trigger it by failing to authenticate within a set time period.

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by Red Hat on 1 July 2024. Last changed 23 November 2026.

Sources

Check one version you run: look CVE-2024-6387 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.