# CVE-2023-27997

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.

- Page: https://www.vulneraibility.com/cve/CVE-2023-27997
- CVSS: 9.8
- Known exploited: yes, in CISA KEV since 2023-06-13; CISA due date 2023-07-04; known ransomware use
- EPSS: 86.75% (percentile 99.7)
- Unvetted proof-of-concept code on GitHub: 12 GitHub proofs of concept (first 2023-06-16)
- CISA SSVC: exploitation active, automatable yes, technical impact total (assessed 2023-06-12)
- Weakness: CWE-122
- Published: 2023-06-13

## Affected versions

- Fortinet FortiOS: affected >= 7.2.0 and <= 7.2.4; >= 7.0.0 and <= 7.0.11; >= 6.4.0 and <= 6.4.12; >= 6.2.0 and <= 6.2.13; >= 6.0.0 and <= 6.0.16
- Fortinet FortiOS-6K7K: affected 7.0.10; 7.0.5; 6.4.12; 6.4.10; 6.4.8; 6.4.6; 6.4.2; >= 6.2.9 and <= 6.2.13; >= 6.2.6 and <= 6.2.7; 6.2.4; >= 6.0.12 and <= 6.0.16; 6.0.10
- Fortinet FortiProxy: affected >= 7.2.0 and <= 7.2.3; >= 7.0.0 and <= 7.0.9; >= 2.0.0 and <= 2.0.12; >= 1.2.0 and <= 1.2.13; >= 1.1.0 and <= 1.1.6

A version outside these ranges is not a statement that it is unaffected.

## References

- [other] https://fortiguard.com/psirt/FG-IR-23-097
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-27997

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
