CVE-2021-42757 in Fortinet FortiOS and 18 more products
A buffer overflow [CWE-121] in the TFTP client library of FortiOS before 6.4.7 and FortiOS 7.0.0 through 7.0.2, may allow an authenticated local attacker to achieve arbitrary code execution via specially crafted command line arguments.
Affects 19 products from 1 vendor. Description from NVD and MITRE.
Requires local access, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fortinet | FortiOS | ≥ 5.0.0, ≤ 5.0.14 ≥ 5.2.0, ≤ 5.2.15 ≥ 5.4.0, ≤ 5.4.13 ≥ 5.6.0, ≤ 5.6.14 ≥ 6.0.0, ≤ 6.0.13 ≥ 6.2.0, ≤ 6.2.9+2 more≥ 6.4.0, ≤ 6.4.7 ≥ 7.0.0, ≤ 7.0.2 |
| Fortinet | FortiManager (device and firmware) | ≥ 6.0.0, ≤ 6.0.12 ≥ 6.2.0, ≤ 6.2.13 ≥ 6.4.0, ≤ 6.4.7 ≥ 7.0.0, ≤ 7.0.2 |
| Fortinet | Fortimail | ≥ 5.4.0, ≤ 5.4.12 ≥ 6.0.0, ≤ 6.0.12 ≥ 6.2.0, ≤ 6.2.7 ≥ 6.4.0, ≤ 6.4.6 ≥ 7.0.0, ≤ 7.0.2 |
| Fortinet | FortiWeb | ≥ 5.0.0, ≤ 6.3.16 ≥ 6.4.0, ≤ 6.4.1 |
| Fortinet | FortiSwitch | ≥ 6.0.0, ≤ 6.0.7 ≥ 6.2.0, ≤ 6.2.7 ≥ 6.4.0, ≤ 6.4.9 ≥ 7.0.0, ≤ 7.0.3 |
| Fortinet | FortiAnalyzer (device and firmware) | ≥ 6.0.0, ≤ 6.0.12 ≥ 6.2.0, ≤ 6.2.13 ≥ 6.4.0, ≤ 6.4.7 ≥ 7.0.0, ≤ 7.0.2 |
| Fortinet | Fortiportal | ≥ 5.0.0, ≤ 5.0.3 ≥ 5.1.0, ≤ 5.1.2 ≥ 5.2.0, ≤ 5.2.6 ≥ 5.3.0, ≤ 5.3.8 ≥ 6.0.0, ≤ 6.0.10 |
| Fortinet | Fortiadc (device and firmware) | ≥ 5.0.0, ≤ 5.0.4 ≥ 5.1.0, ≤ 5.1.7 ≥ 5.2.0, ≤ 5.2.8 ≥ 5.3.0, ≤ 5.3.7 ≥ 5.4.0, ≤ 5.4.5 ≥ 6.0.0, ≤ 6.0.4+2 more≥ 6.1.0, ≤ 6.1.5 ≥ 6.2.0, ≤ 6.2.2 |
| Fortinet | FortiProxy | ≥ 1.0.0, ≤ 2.0.7 ≥ 7.0.0, ≤ 7.0.1 |
| Fortinet | Fortivoice | ≥ 6.0.0, ≤ 6.0.10 ≥ 6.4.0, ≤ 6.4.4 |
| Fortinet | Fortindr | 1.1.0 1.2.0 1.4.0 ≥ 1.3.0, ≤ 1.3.1 ≥ 1.5.0, ≤ 1.5.2 |
| Fortinet | FortiOS-6K7K | 6.4.2 6.4.6 ≤ 6.2.8 |
| Fortinet | Fortiddos | 4.5.0 4.6.0 4.7.0 5.0.0 5.1.0 5.2.0+4 more≥ 4.4.0, ≤ 4.4.2 ≥ 5.3.0, ≤ 5.3.2 ≥ 5.4.0, ≤ 5.4.3 ≥ 5.5.0, ≤ 5.5.1 |
| Fortinet | Fortiddos-F | 6.3.0 ≥ 6.1.0, ≤ 6.1.4 ≥ 6.2.0, ≤ 6.2.2 ≥ 6.4.0, ≤ 6.4.1 |
| Fortinet | Fortirecorder (device and firmware) | ≥ 2.6.0, ≤ 2.6.3 ≥ 2.7.0, ≤ 2.7.7 ≥ 6.0.0, ≤ 6.0.10 ≥ 6.4.0, ≤ 6.4.2 |
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2021-42757 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-299372-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-12-08 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.