Resources / Alert
CVE-2024-21762 in FortiOS and FortiProxy: affected versions, fixes and CISA KEV status
CVE-2024-21762 is an out-of-bounds write in the SSL VPN daemon of FortiOS and FortiProxy that can allow remote code execution without authentication. Affected and fixed versions, the CISA KEV status, the vendor workaround, and what an external check can and cannot show.
In 30 seconds
- What happens
- A critical flaw in the SSL VPN service of FortiOS and FortiProxy lets an outsider run code without logging in; CISA lists it as exploited, including by ransomware.
- Who it affects
- Organizations running FortiOS 6.0.0–7.4.2 or FortiProxy 1.0–7.4.2 with SSL VPN switched on, even when the web portal is off.
- First step
- Upgrade each affected device to a fixed version; if you cannot yet, disable SSL VPN, because turning off web mode does not help.
- Our view
- A 9.8 score says the flaw is serious, not whether your company has it. The version on each Fortinet gateway you have on the internet answers that, and the list has to include standby devices and the ones nobody remembers.
Since 9 February 2024, CVE-2024-21762 has been listed in the CISA KEV catalog as actively exploited.
Short answer
- Affected: FortiOS 6.0.0–7.4.2 and FortiProxy 1.0–7.4.2, by branch; the ranges are below.
- Fixed in: FortiOS 6.0.18, 6.2.16, 6.4.15, 7.0.14, 7.2.7 or 7.4.3, or later in the same branch; FortiProxy 2.0.14, 7.0.15, 7.2.9 or 7.4.3, or later. FortiProxy 1.0, 1.1 and 1.2 have no fixed release: Fortinet says to migrate.
- Attacked: Fortinet's advisory says it is potentially being exploited in the wild. CISA added it to the KEV catalog on 9 February 2024 and lists use in ransomware campaigns as known.
- What to do: upgrade to a fixed version. If you cannot yet, Fortinet's workaround is to disable SSL VPN; disabling web mode is not a valid workaround.
Checked on 16 November 2026 against Fortinet advisory FG-IR-24-015 (last updated 15 January 2025), the CISA KEV feed and the NVD record.
Affected versions
- FortiOS: 6.0.0–6.0.17, 6.2.0–6.2.15, 6.4.0–6.4.14, 7.0.0–7.0.13, 7.2.0–7.2.6 and 7.4.0–7.4.2.
- FortiProxy: 2.0.0–2.0.13, 7.0.0–7.0.14, 7.2.0–7.2.8 and 7.4.0–7.4.2; and all versions of 1.0, 1.1 and 1.2.
The CVE record still lists FortiOS 6.0 as affected in all versions; Fortinet's advisory added 6.0.18 as a fixed release on 23 February 2024. This article follows the advisory. FortiOS 7.6 is not affected.
In the Fortinet record the defect is classified as CWE-787, an out-of-bounds write. Specially crafted requests can allow unauthorized code or commands to be executed.
What the CVSS vector tells you
The Fortinet vector contains AV:N, PR:N and UI:N. In practice, anyone who can reach the device over the network can attack it, with no login and no action from a user. The vector does not say that the device is reachable from the internet: the CVE record names no external address, no port and no specific HTTP endpoint.
What the vendor advisory says
Fortinet's advisory is titled «Out-of-bound Write in sslvpnd», the SSL VPN service. It rates the flaw Critical, with a CVSS 3.1 base score of 9.8, and describes it as allowing a remote unauthenticated attacker to execute arbitrary code or commands through specially crafted HTTP requests. It was published on 8 February 2024; Fortinet added further fixed versions on 23 February 2024 and IPS package information on 15 January 2025.
Its note reads «This is potentially being exploited in the wild». The CISA KEV entry, added on 9 February 2024, records known use in ransomware campaigns.
Where an external check stops
An external check can find FortiOS and FortiProxy instances responding on public addresses and match them against a version inventory and against KEV. Neither the CVE record nor the advisory gives a signature or an endpoint for confirming the flaw from outside. Researchers have published checks that compare how patched and unpatched firmware respond on the SSL VPN port; treat their result as a lead, not as proof, because a check aimed at the wrong port can report a device as patched. The installed version on the device is the reliable answer. Which services are actually published on each gateway found, standby devices included, has to be established separately from the configuration. Other firewalls and routers have the same limit: see the PAN-OS chain of three CVEs and Cisco IOS XE Web UI after CVE-2023-20198.
Fixed versions
- FortiOS: 6.0.18+, 6.2.16+, 6.4.15+, 7.0.14+, 7.2.7+ or 7.4.3+.
- FortiProxy: 2.0.14+, 7.0.15+, 7.2.9+ or 7.4.3+. For FortiProxy 1.0, 1.1 and 1.2, migrate to a fixed release.
For US federal civilian agencies the KEV entry set a due date of 16 February 2024. For other organizations that date is not a separate regulatory deadline, but the active status means prioritization should take into account the external instances actually found, not only a static equipment register.
Checks and actions
- CVE-2024-21762 in KEV since 9 February 2024 — record the active exploitation status when prioritizing.
- FortiOS or FortiProxy responds on a public address — match the address to its owner, product and installed version.
- The version falls within an affected range — update to a fixed version listed by Fortinet.
- SSL VPN is enabled on the device — treat it as in scope; if you cannot upgrade yet, Fortinet's workaround is to disable SSL VPN (disabling web mode does not work). Check the configuration; do not infer a vulnerable path from an external response alone.
- Standby gateways are missing from the inventory — keep external scanning running and reconcile discovered assets against KEV.