CVE-2022-42475critical 9.8PoC available
FortiOS SSL-VPN: oversized Content-Length wraps the heap allocation
An unauthenticated HTTP request can supply a body length above the 32-bit range, causing the SSL-VPN daemon to reserve a truncated heap buffer and then receive substantially more body data into it.
- Product
- FortiOS, FortiOS-6K7K, and FortiProxy SSL-VPN
- Vendor
- Fortinet
- Affected
- FortiOS 7.2.0 through 7.2.2, 7.0.0 through 7.0.8, 6.4.0 through 6.4.10, 6.2.0 through 6.2.11, 6.0.0 through 6.0.15, and all 5.x branches; FortiOS-6K7K 7.0.0 through 7.0.7, 6.4.0 through 6.4.9, 6.2.0 through 6.2.11, and 6.0.0 through 6.0.14; FortiProxy 7.2.0 through 7.2.1, 7.0.0 through 7.0.7, 2.0.0 through 2.0.11, and all 1.x branches
- Fixed in
- FortiOS 7.2.3, 7.0.9, 6.4.11, 6.2.12, or 6.0.16 and later supported builds; FortiOS-6K7K 7.0.8, 6.4.10, 6.2.12, or 6.0.15 and later supported builds; FortiProxy 7.2.2, 7.0.8, or 2.0.12 and later supported builds. Older branches require migration.
- Weakness
- CWE-197
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 12 Dec 2022
Classified as
References
Related CVEs
- CVE-2024-21762critical 9.82024
FortiOS two-byte chunk-trailer stack overwrite
A padded zero-length HTTP chunk carries a large raw line length into trailer processing, where an incomplete remaining-space check permits a fixed CRLF pair to be written beyond a stack buffer.
- CVE-2023-27997critical 9.82023
XORtigate: FortiOS SSL-VPN hex-length heap overflow
The SSL-VPN parser validates a raw-byte length against the hexadecimal character count, allowing its XOR decryption loop and terminator write to continue beyond the decoded heap buffer.