CVE-2021-43072
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA buffer copy without checking size of input ('classic buffer overflow') in Fortinet FortiAnalyzer version 7.0.2 and below, version 6.4.7 and below, version 6.2.9 and below, version 6.0.11 and below, version 5.6.11 and below, FortiManager version 7.0.2 and below, version 6.4.7 and below, version 6.2.9 and below, version 6.0.11 and below, version 5.6.11 and below, FortiOS version 7.0.0 through 7.0.4, 6.4.0 through 6.4.8, 6.2.0 through 6.2.10, 6.0.x and FortiProxy version 7.0.0 through 7.0.3, 2.0.0 through 2.0.8, 1.2.x, 1.1.x and 1.0.x allows attacker to execute unauthorized code or commands via crafted CLI `execute restore image` and `execute certificate remote` operations with the tFTP protocol.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceClassic buffer overflow vulnerability in Fortinet FortiAnalyzer, FortiManager, FortiOS, and FortiProxy allows authenticated attackers to execute arbitrary code via crafted CLI commands (`execute restore image` and `execute certificate remote`) using the tFTP protocol without proper size validation on input buffers.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 5.6.0, < 6.4.8>= 7.0.0, < 7.0.3>= 5.6.0, < 6.4.8>= 7.0.0, < 7.0.3>= 1.0.0, < 2.0.9>= 7.0.0, < 7.0.4>= 6.0.0, < 6.2.11>= 6.4.0, < 6.4.9>= 7.0.0, < 7.0.6CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify the installed Fortinet productRun `get system status` or `show system` in CLI, or check the web UI dashboard for the product name (FortiOS, FortiAnalyzer, FortiManager, or FortiProxy)Affected if The product is one of FortiOS, FortiAnalyzer, FortiManager, or FortiProxy and matches affected version ranges below
-
Determine the installed version numberRun `get system status` in CLI to display the firmware version, or check the FortiManager/FortiAnalyzer web UI under System > FirmwareAffected if The version falls within any of these ranges: FortiOS 6.0.0-6.2.10, 6.4.0-6.4.8, 7.0.0-7.0.5; FortiAnalyzer/FortiManager 5.6.0-6.2.9, 6.4.0-6.4.7, 7.0.0-7.0.2; FortiProxy 1.0.0-2.0.8, 7.0.0-7.0.3
-
Verify if tFTP service is enabled or accessibleCheck system settings via `show system tftp` or review network configuration for tFTP service exposure. In FortiOS, run `get system interface` and review allowed protocols on management interfacesAffected if tFTP is enabled or accessible on management or WAN interfaces without proper network segmentation
-
Confirm CLI access for untrusted or unauthorized usersReview user accounts and privilege levels via `get system admin` or check FortiOS/FortiProxy user group definitions under User & AuthenticationAffected if Untrusted, low-privilege, or unauthorized users have CLI access permissions (especially via management interfaces)
-
Check for use of vulnerable CLI commandsReview audit logs or configuration for any use of `execute restore image` or `execute certificate remote` commands with tFTP sourceAffected if These specific CLI commands using tFTP protocol have been executed in the environment
The environment is affected if the installed Fortinet product is FortiOS, FortiAnalyzer, FortiManager, or FortiProxy with a version within the affected ranges AND tFTP is accessible while allowing CLI commands to untrusted users.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped2.0.96.2.116.4.8
Apply the vendor-supplied patches for affected versions (FortiOS 7.0.5+, 6.4.9+, 6.2.11+; FortiAnalyzer/FortiManager 7.0.3+, 6.4.8+, 6.2.10+, 6.0.12+, 5.6.12+; FortiProxy 7.0.4+, 2.0.9+). Restrict tFTP access to trusted networks and limit CLI access to authenticated, authorized personnel only.
FortiOS 7.0.6+ / 6.4.9+ / 6.2.11+ | FortiAnalyzer 7.0.3+ / 6.4.8+ | FortiManager 7.0.3+ / 6.4.8+ | FortiProxy 7.0.4+ / 2.0.9+
- 1. Identify the exact Fortinet product (FortiOS, FortiAnalyzer, FortiManager, or FortiProxy) and current version running in your environment
- 2. For FortiOS: Upgrade to version 7.0.6 or later for 7.0.x deployments; upgrade to 6.4.9 or later for 6.4.x deployments; upgrade to 6.2.11 or later for 6.2.x deployments
- 3. For FortiAnalyzer: Upgrade to version 7.0.3 or later for 7.0.x deployments; upgrade to 6.4.8 or later for 6.4.x deployments
- 4. For FortiManager: Upgrade to version 7.0.3 or later for 7.0.x deployments; upgrade to 6.4.8 or later for 6.4.x deployments
- 5. For FortiProxy: Upgrade to version 7.0.4 or later for 7.0.x deployments; upgrade to 2.0.9 or later for 2.0.x deployments
- 6. After upgrade, verify the system is functioning normally and review audit logs for any suspicious tFTP operations
- 7. Consider restricting tFTP protocol access via access profiles and administrative access lists as a defense-in-depth measure
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,600.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2021-43072 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2021-43072 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data