CVE-2021-42757: fortinet fortiadc
Vulnerability summary
CVE-2021-42757 is a medium (CVSS 6.7) vulnerability in fortinet fortiadc. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 45.4% of scored vulnerabilities.
Not severe (CVSS 6.3, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 08-12-2021PublishedVulnerability first disclosed.
- 16-10-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- CVE.orgCNA6.3MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:CDiffers
EPSS trend
Probability
0.52%
Chance of exploitation in the next 30 days
Percentile
45%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.52% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-120Buffer Copy without Checking Size of InputThe product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Fortinet15 products
- fortiadc≥ 6.1.0, ≤ 6.1.5 | ≥ 6.0.0, ≤ 6.0.4 | ≥ 5.4.0, ≤ 5.4.5 | ≥ 5.3.0, ≤ 5.3.7 | ≥ 5.2.0, ≤ 5.2.8 | ≥ 5.1.0, ≤ 5.1.7 | ≥ 5.0.0, ≤ 5.0.4 | ≥ 5.0.0, ≤ 6.1.5 | ≥ 6.2.0, ≤ 6.2.2
- fortianalyzer≥ 6.4.0, ≤ 6.4.7 | ≥ 6.2.0, ≤ 6.2.13 | ≥ 6.0.0, ≤ 6.0.12 | ≥ 6.0.0, ≤ 6.4.7 | ≥ 7.0.0, ≤ 7.0.2
- fortiddos≥ 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
- fortiddos-f≥ 6.4.0, ≤ 6.4.1 | 6.3.0 | ≥ 6.2.0, ≤ 6.2.2 | ≥ 6.1.0, ≤ 6.1.4
- fortimail≥ 6.2.0, ≤ 6.2.7 | ≥ 6.0.0, ≤ 6.0.12 | ≥ 5.4.0, ≤ 5.4.12 | ≥ 5.4.0, ≤ 6.2.7 | ≥ 6.4.0, ≤ 6.4.6 | ≥ 7.0.0, ≤ 7.0.2
1 vendor · 15 products
References
1 links- fortiguard.com/advisory/FG-IR-21-173Vendor Advisory