CVEs / CVE-2023-27997
CVE-2023-27997: Fortinet FortiOS and FortiProxy SSL-VPN Heap-Based Buffer Overflow Vulnerability
- Known exploited in the CISA KEV catalog since 13 Jun 2023
- critical 9.8 CVSS 3.1 (NVD)
- EPSS 85.6% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2023-27997
Summary
Fortinet FortiOS and FortiProxy SSL-VPN contain a heap-based buffer overflow vulnerability which can allow an unauthenticated, remote attacker to execute code or commands via specifically crafted requests.
Description
A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version 7.0.11 and below, version 6.4.12 and below, version 6.0.16 and below and FortiProxy version 7.2.3 and below, version 7.0.9 and below, version 2.0.12 and below, version 1.2 all versions, version 1.1 all versions SSL-VPN may allow a remote attacker to execute arbitrary code or commands via specifically crafted requests.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Fortinet FortiOS-6K7K | 7.0.10 | — |
| Fortinet FortiOS-6K7K | 7.0.5 | — |
| Fortinet FortiOS-6K7K | 6.4.12 | — |
| Fortinet FortiOS-6K7K | 6.4.10 | — |
| Fortinet FortiOS-6K7K | 6.4.8 | — |
| Fortinet FortiOS-6K7K | 6.4.6 | — |
| Fortinet FortiOS-6K7K | 6.4.2 | — |
| Fortinet FortiOS-6K7K | from 6.2.9, up to and including 6.2.13 | — |
| Fortinet FortiOS-6K7K | from 6.2.6, up to and including 6.2.7 | — |
| Fortinet FortiOS-6K7K | 6.2.4 | — |
| Fortinet FortiOS-6K7K | from 6.0.12, up to and including 6.0.16 | — |
| Fortinet FortiOS-6K7K | 6.0.10 | — |
| Fortinet FortiProxy | from 7.2.0, up to and including 7.2.3 | — |
| Fortinet FortiProxy | from 7.0.0, up to and including 7.0.9 | — |
| Fortinet FortiProxy | from 2.0.0, up to and including 2.0.12 | — |
| Fortinet FortiProxy | from 1.2.0, up to and including 1.2.13 | — |
| Fortinet FortiProxy | from 1.1.0, up to and including 1.1.6 | — |
| Fortinet FortiOS | from 7.2.0, up to and including 7.2.4 | — |
| Fortinet FortiOS | from 7.0.0, up to and including 7.0.11 | — |
| Fortinet FortiOS | from 6.4.0, up to and including 6.4.12 | — |
| Fortinet FortiOS | from 6.2.0, up to and including 6.2.13 | — |
| Fortinet FortiOS | from 6.0.0, up to and including 6.0.16 | — |
Exploitation
| In CISA KEV since | 13 Jun 2023 |
|---|---|
| Due date for US federal agencies | 4 Jul 2023 |
| Used in ransomware campaigns | Known |
| Required action | Apply updates per vendor instructions. |
Severity
| CVSS 3.1 | 9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-122, CWE-787 |
References
- CVE-2023-27997 on NVD
- CVE-2023-27997 in the CISA KEV catalog
- https://www.fortiguard.com/psirt/FG-IR-23-097 (cited by CISA)
- https://fortiguard.com/psirt/FG-IR-23-097 Vendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-27997 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.