CVE-2021-42757
JSON

6.3medium

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…

Severity
6.3medium CVSS:3.1 by fortinet
Exploit likelihood
0.52% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
fortinet

Description

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.

Affected

Product or packageVersionsReported by
Fortinet FortiOSfrom 7.0.0 up to 7.0.2, from 6.4.0 up to 6.4.7, from 6.2.0 up to 6.2.9, from 6.0.0 up to 6.0.13, from 5.6.0 up to 5.6.14, from 5.4.0 up to 5.4.13, from 5.2.0 up to 5.2.15, from 5.0.0 up to 5.0.14 and 1 moreCVE List, NVD
Fortinet FortiDDoS-Ffrom 6.4.0 up to 6.4.1, 6.3.0, from 6.2.0 up to 6.2.2, from 6.1.0 up to 6.1.4CVE List
Fortinet FortiVoicefrom 6.4.0 up to 6.4.4, from 6.0.0 up to 6.0.10CVE List, NVD
Fortinet FortiProxyfrom 7.0.0 up to 7.0.1, from 2.0.0 up to 2.0.7, from 1.2.0 up to 1.2.13, from 1.1.0 up to 1.1.6, from 1.0.0 up to 1.0.7, from 1.0.0 up to 2.0.7, 7.0.0, 7.0.1CVE List, NVD
Fortinet FortiRecorderfrom 6.4.0 up to 6.4.2, from 6.0.0 up to 6.0.10, from 2.7.0 up to 2.7.7, from 2.6.0 up to 2.6.3CVE List
Fortinet FortiPortalfrom 6.0.0 up to 6.0.10, from 5.3.0 up to 5.3.8, from 5.2.0 up to 5.2.6, from 5.1.0 up to 5.1.2, from 5.0.0 up to 5.0.3, from 5.0.0 up to 6.0.10CVE List, NVD
Fortinet FortiMailfrom 7.0.0 up to 7.0.2, from 6.4.0 up to 6.4.6, from 6.2.0 up to 6.2.7, from 6.0.0 up to 6.0.12, from 5.4.0 up to 5.4.12, from 5.4.0 up to 6.2.7CVE List, NVD
Fortinet FortiAnalyzerfrom 7.0.0 up to 7.0.2, from 6.4.0 up to 6.4.7, from 6.2.0 up to 6.2.13, from 6.0.0 up to 6.0.12, from 6.0.0 up to 6.4.7CVE List, NVD
Fortinet FortiNDRfrom 1.5.0 up to 1.5.2, 1.4.0, from 1.3.0 up to 1.3.1, 1.2.0, 1.1.0, from 1.1.0 up to 1.5.2CVE List, NVD
Fortinet FortiDDoSfrom 5.5.0 up to 5.5.1, from 5.4.0 up to 5.4.3, from 5.3.0 up to 5.3.2, 5.2.0, 5.1.0, 5.0.0, 4.7.0, 4.6.0 and 2 moreCVE List
Fortinet FortiSwitchfrom 7.0.0 up to 7.0.3, from 6.4.0 up to 6.4.9, from 6.2.0 up to 6.2.7, from 6.0.0 up to 6.0.7, from 6.0.0 up to 6.4.9CVE List, NVD
Fortinet FortiADCfrom 6.2.0 up to 6.2.2, from 6.1.0 up to 6.1.5, from 6.0.0 up to 6.0.4, from 5.4.0 up to 5.4.5, from 5.3.0 up to 5.3.7, from 5.2.0 up to 5.2.8, from 5.1.0 up to 5.1.7, from 5.0.0 up to 5.0.4 and 1 moreCVE List, NVD

All scores

fortinet6.3medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:C
NVD6.7medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD4.6medium CVSS:2.0AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

Un desbordamiento de búfer [CWE-121] en la biblioteca del cliente TFTP de FortiOS versiones anteriores a 6.4.7 y FortiOS versiones 7.0.0 hasta 7.0.2, puede permitir a un atacante local autenticado lograr una ejecución de código arbitrario por medio de argumentos de línea de comandos especialmente diseñados

References

Sources

SourceRecordLicence
CVE ListCVE-2021-42757 changed 2025-10-16CVE Terms of Use
NVDCVE-2021-42757 changed 2026-06-17Public domain