cve.bz

CVE-2021-42757 fortinet: Classic Buffer Overflow

6.7 mediumEPSS 0.5%

Medium (6.7) in fortinet. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.7 medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-42757 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-42757?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-42757?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-42757 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Fortinet FortiOSfrom 7.0.0 through 7.0.2
Fortinet FortiOSfrom 6.4.0 through 6.4.7
Fortinet FortiOSfrom 6.2.0 through 6.2.9
Fortinet FortiOSfrom 6.0.0 through 6.0.13
Fortinet FortiOSfrom 5.6.0 through 5.6.14
Fortinet FortiOSfrom 5.4.0 through 5.4.13
Fortinet FortiOSfrom 5.2.0 through 5.2.15
Fortinet FortiOSfrom 5.0.0 through 5.0.14
Fortinet FortiDDoS-Ffrom 6.4.0 through 6.4.1
Fortinet FortiDDoS-F6.3.0
Fortinet FortiDDoS-Ffrom 6.2.0 through 6.2.2
Fortinet FortiDDoS-Ffrom 6.1.0 through 6.1.4
Fortinet FortiVoicefrom 6.4.0 through 6.4.4
Fortinet FortiVoicefrom 6.0.0 through 6.0.10
Fortinet FortiProxyfrom 7.0.0 through 7.0.1
Fortinet FortiProxyfrom 2.0.0 through 2.0.7
Fortinet FortiProxyfrom 1.2.0 through 1.2.13
Fortinet FortiProxyfrom 1.1.0 through 1.1.6
Fortinet FortiProxyfrom 1.0.0 through 1.0.7
Fortinet FortiRecorderfrom 6.4.0 through 6.4.2
Fortinet FortiRecorderfrom 6.0.0 through 6.0.10
Fortinet FortiRecorderfrom 2.7.0 through 2.7.7
Fortinet FortiRecorderfrom 2.6.0 through 2.6.3
Fortinet FortiPortalfrom 6.0.0 through 6.0.10
Fortinet FortiPortalfrom 5.3.0 through 5.3.8
Fortinet FortiPortalfrom 5.2.0 through 5.2.6
Fortinet FortiPortalfrom 5.1.0 through 5.1.2
Fortinet FortiPortalfrom 5.0.0 through 5.0.3
Fortinet FortiMailfrom 7.0.0 through 7.0.2
Fortinet FortiMailfrom 6.4.0 through 6.4.6
Fortinet FortiMailfrom 6.2.0 through 6.2.7
Fortinet FortiMailfrom 6.0.0 through 6.0.12
Fortinet FortiMailfrom 5.4.0 through 5.4.12
Fortinet FortiAnalyzerfrom 7.0.0 through 7.0.2
Fortinet FortiAnalyzerfrom 6.4.0 through 6.4.7
Fortinet FortiAnalyzerfrom 6.2.0 through 6.2.13
Fortinet FortiAnalyzerfrom 6.0.0 through 6.0.12
Fortinet FortiNDRfrom 1.5.0 through 1.5.2
Fortinet FortiNDR1.4.0
Fortinet FortiNDRfrom 1.3.0 through 1.3.1
Fortinet FortiNDR1.2.0
Fortinet FortiNDR1.1.0
Fortinet FortiDDoSfrom 5.5.0 through 5.5.1
Fortinet FortiDDoSfrom 5.4.0 through 5.4.3
Fortinet FortiDDoSfrom 5.3.0 through 5.3.2
Fortinet FortiDDoS5.2.0
Fortinet FortiDDoS5.1.0
Fortinet FortiDDoS5.0.0
Fortinet FortiDDoS4.7.0
Fortinet FortiDDoS4.6.0
Fortinet FortiDDoS4.5.0
Fortinet FortiDDoSfrom 4.4.0 through 4.4.2
Fortinet FortiSwitchfrom 7.0.0 through 7.0.3
Fortinet FortiSwitchfrom 6.4.0 through 6.4.9
Fortinet FortiSwitchfrom 6.2.0 through 6.2.7
Fortinet FortiSwitchfrom 6.0.0 through 6.0.7
Fortinet FortiADCfrom 6.2.0 through 6.2.2
Fortinet FortiADCfrom 6.1.0 through 6.1.5
Fortinet FortiADCfrom 6.0.0 through 6.0.4
Fortinet FortiADCfrom 5.4.0 through 5.4.5
Fortinet FortiADCfrom 5.3.0 through 5.3.7
Fortinet FortiADCfrom 5.2.0 through 5.2.8
Fortinet FortiADCfrom 5.1.0 through 5.1.7
Fortinet FortiADCfrom 5.0.0 through 5.0.4
Fortinet FortiWebfrom 6.4.0 through 6.4.1
Fortinet FortiWebfrom 6.3.0 through 6.3.16
Fortinet FortiWebfrom 6.2.0 through 6.2.8
Fortinet FortiWebfrom 6.1.0 through 6.1.4
Fortinet FortiWebfrom 6.0.0 through 6.0.8
Fortinet FortiWebfrom 5.9.0 through 5.9.2
Fortinet FortiWebfrom 5.8.5 through 5.8.7
Fortinet FortiWebfrom 5.8.0 through 5.8.3
Fortinet FortiWebfrom 5.7.0 through 5.7.3
Fortinet FortiWebfrom 5.6.0 through 5.6.2
Fortinet FortiWebfrom 5.5.0 through 5.5.7
Fortinet FortiWebfrom 5.4.0 through 5.4.1
Fortinet FortiWebfrom 5.3.0 through 5.3.9
Fortinet FortiWebfrom 5.2.0 through 5.2.4
Fortinet FortiWebfrom 5.1.0 through 5.1.4
Fortinet FortiWebfrom 5.0.0 through 5.0.6
Fortinet FortiManagerfrom 7.0.0 through 7.0.2
Fortinet FortiManagerfrom 6.4.0 through 6.4.7
Fortinet FortiManagerfrom 6.2.0 through 6.2.13
Fortinet FortiManagerfrom 6.0.0 through 6.0.12

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON