CVE-2021-42757
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by fortinet, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Fortinet FortiOS: affected: 7.0.0 to 7.0.2, 6.4.0 to 6.4.7, 6.2.0 to 6.2.9, 6.0.0 to 6.0.13, 5.6.0 to 5.6.14, 5.4.0 to 5.4.13
- Fortinet FortiDDoS-F: affected: 6.4.0 to 6.4.1, 6.3.0, 6.2.0 to 6.2.2, 6.1.0 to 6.1.4
- Fortinet FortiVoice: affected: 6.4.0 to 6.4.4, 6.0.0 to 6.0.10
- Fortinet FortiProxy: affected: 7.0.0 to 7.0.1, 2.0.0 to 2.0.7, 1.2.0 to 1.2.13, 1.1.0 to 1.1.6, 1.0.0 to 1.0.7
- Fortinet FortiRecorder: affected: 6.4.0 to 6.4.2, 6.0.0 to 6.0.10, 2.7.0 to 2.7.7, 2.6.0 to 2.6.3
- Fortinet FortiPortal: affected: 6.0.0 to 6.0.10, 5.3.0 to 5.3.8, 5.2.0 to 5.2.6, 5.1.0 to 5.1.2, 5.0.0 to 5.0.3
- Fortinet FortiMail: affected: 7.0.0 to 7.0.2, 6.4.0 to 6.4.6, 6.2.0 to 6.2.7, 6.0.0 to 6.0.12, 5.4.0 to 5.4.12
- Fortinet FortiAnalyzer: affected: 7.0.0 to 7.0.2, 6.4.0 to 6.4.7, 6.2.0 to 6.2.13, 6.0.0 to 6.0.12
- Fortinet FortiNDR: affected: 1.5.0 to 1.5.2, 1.4.0, 1.3.0 to 1.3.1, 1.2.0, 1.1.0
- Fortinet FortiDDoS: affected: 5.5.0 to 5.5.1, 5.4.0 to 5.4.3, 5.3.0 to 5.3.2, 5.2.0, 5.1.0, 5.0.0
- Fortinet FortiSwitch: affected: 7.0.0 to 7.0.3, 6.4.0 to 6.4.9, 6.2.0 to 6.2.7, 6.0.0 to 6.0.7
- Fortinet FortiADC: affected: 6.2.0 to 6.2.2, 6.1.0 to 6.1.5, 6.0.0 to 6.0.4, 5.4.0 to 5.4.5, 5.3.0 to 5.3.7, 5.2.0 to 5.2.8
Solution: Upgrade to FortiOS version 7.0.3 or above Upgrade to FortiOS version 6.4.8 or above Upgrade to FortiOS version 6.2.10 or above Upgrade to FortiOS version 6.0.14 or above Upgrade to FortiDDoS-F version 6.4.2 or above Upgrade to FortiDDoS-F version 6.3.1 or above Upgrade to FortiDDoS-F version 6.2.3 or above Upgrade to FortiDDoS-F version 6.1.5 or above Upgrade to FortiOS-6K7K version 6.4.8 or above Upgrade to FortiOS-6K7K version 6.2.9 or above Upgrade to FortiVoice version 6.4.5 or above Upgrade to FortiVoice version 6.0.11 or above Upgrade to FortiProxy version 7.0.2 or above Upgrade to FortiProxy version 2.0.8 or above Upgrade to FortiRecorder version 7.0.0 or above Upgrade to FortiRecorder version 6.4.3 or above Upgrade to FortiRecorder version 6.0.11 or above Upgrade to upcoming FortiRecorder version 2.7.8 or above Upgrade to FortiPortal version 6.0.11 or above Upgrade to FortiMail…
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.