The out-of-bounds write vulnerability in FortiOS allows unauthenticated attackers to gain remote code execution (RCE) via maliciously crafted requests. CVE-2024-21762 is the case number for the vulnerability, which has a CVSS v3 base score of 9.6 severity rating.
It is also possible to mitigate the vulnerability by disabling SSL VPN on FortiOS devices. Fortinet’s advisory does not provide details on how the vulnerability is undergoing exploitation.
Versions affected by the issues include:
- FortiOS 7.4.0 through 7.4.2
- FortiOS 7.2.0 through 7.2.6
- FortiOS 7.0.0 through 7.0.13
- FortiOS 6.4.0 through 6.4.14
- FortiOS 6.2.0 through 6.2.15
- FortiOS 6.0 all versions
To patch the bug, Fortinet recommends upgrading to one of the latest FortiOS versions:
- 7.4.3 or above
- 7.2.7 or above
- 7.0.14 or above
- 6.4.15 or above
- 6.2.16 or above
- For FortiOS 6.0, migrate to a fixed release
This flaw ended up disclosed with another critical vulnerability CVE-2024-23113, which has a 9.8 rating. Also disclosed was CVE-2023-44487 and CVE-2023-47537 (Medium).
None of those vulnerabilities were undergoing attacks at present.
Click here for more information on CVE-2024-21762.

