{"id":"CVE-2021-42757","published":"2021-12-08T11:01:11Z","modified":"2025-10-16T09:46:26Z","title":"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…","vendor":"Fortinet","product":"FortiOS","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:C","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00516,"percentile":0.37171,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://fortiguard.com/advisory/FG-IR-21-173","tags":[]}],"priority":{"score":11.8,"factors":[{"name":"EPSS percentile","points":7.43},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"fortinet","affectedVersions":[{"vendor":"Fortinet","product":"FortiOS","versions":[">= 7.0.0, <= 7.0.2",">= 6.4.0, <= 6.4.7",">= 6.2.0, <= 6.2.9",">= 6.0.0, <= 6.0.13",">= 5.6.0, <= 5.6.14",">= 5.4.0, <= 5.4.13",">= 5.2.0, <= 5.2.15",">= 5.0.0, <= 5.0.14"]},{"vendor":"Fortinet","product":"FortiDDoS-F","versions":[">= 6.4.0, <= 6.4.1","6.3.0",">= 6.2.0, <= 6.2.2",">= 6.1.0, <= 6.1.4"]},{"vendor":"Fortinet","product":"FortiVoice","versions":[">= 6.4.0, <= 6.4.4",">= 6.0.0, <= 6.0.10"]},{"vendor":"Fortinet","product":"FortiProxy","versions":[">= 7.0.0, <= 7.0.1",">= 2.0.0, <= 2.0.7",">= 1.2.0, <= 1.2.13",">= 1.1.0, <= 1.1.6",">= 1.0.0, <= 1.0.7"]},{"vendor":"Fortinet","product":"FortiRecorder","versions":[">= 6.4.0, <= 6.4.2",">= 6.0.0, <= 6.0.10",">= 2.7.0, <= 2.7.7",">= 2.6.0, <= 2.6.3"]},{"vendor":"Fortinet","product":"FortiPortal","versions":[">= 6.0.0, <= 6.0.10",">= 5.3.0, <= 5.3.8",">= 5.2.0, <= 5.2.6",">= 5.1.0, <= 5.1.2",">= 5.0.0, <= 5.0.3"]},{"vendor":"Fortinet","product":"FortiMail","versions":[">= 7.0.0, <= 7.0.2",">= 6.4.0, <= 6.4.6",">= 6.2.0, <= 6.2.7",">= 6.0.0, <= 6.0.12",">= 5.4.0, <= 5.4.12"]},{"vendor":"Fortinet","product":"FortiAnalyzer","versions":[">= 7.0.0, <= 7.0.2",">= 6.4.0, <= 6.4.7",">= 6.2.0, <= 6.2.13",">= 6.0.0, <= 6.0.12"]},{"vendor":"Fortinet","product":"FortiNDR","versions":[">= 1.5.0, <= 1.5.2","1.4.0",">= 1.3.0, <= 1.3.1","1.2.0","1.1.0"]},{"vendor":"Fortinet","product":"FortiDDoS","versions":[">= 5.5.0, <= 5.5.1",">= 5.4.0, <= 5.4.3",">= 5.3.0, <= 5.3.2","5.2.0","5.1.0","5.0.0","4.7.0","4.6.0","4.5.0",">= 4.4.0, <= 4.4.2"]}],"solutions":{"items":["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 version 7.2.0 or above Upgrade to FortiMail version 7.0.3 or above Upgrade to FortiMail version 6.4.7 or above Upgrade to FortiAnalyzer version 7.0.3 or above Upgrade to FortiAnalyzer version 6.4.8 or above Upgrade to FortiNDR version 7.0.0 or above Upgrade to FortiDDoS version 5.6.0 or above…"],"from":"CVE.org CNA","provenance":"source"},"euvd":{"id":"EUVD-2021-29715","exploited":false,"provenance":"source"}}