CVE-2021-42757

State
Published
Severity
6.3 Medium
Published
Dec 8, 2021
Updated
Oct 16, 2025
Reserved
Oct 20, 2021

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.3 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:Cfortinet

Weaknesses

  • CWE-120 Execute unauthorized code or commands

Affected Products

ProductVersions
FortiOSFortinet
  • 7.0.0 through 7.0.2Affected
  • 6.4.0 through 6.4.7Affected
  • 6.2.0 through 6.2.9Affected
  • 6.0.0 through 6.0.13Affected
  • 5.6.0 through 5.6.14Affected
  • 5.4.0 through 5.4.13Affected
  • 5.2.0 through 5.2.15Affected
  • 5.0.0 through 5.0.14Affected
FortiDDoS-FFortinet
  • 6.4.0 through 6.4.1Affected
  • 6.3.0Affected
  • 6.2.0 through 6.2.2Affected
  • 6.1.0 through 6.1.4Affected
FortiVoiceFortinet
  • 6.4.0 through 6.4.4Affected
  • 6.0.0 through 6.0.10Affected
FortiProxyFortinet
  • 7.0.0 through 7.0.1Affected
  • 2.0.0 through 2.0.7Affected
  • 1.2.0 through 1.2.13Affected
  • 1.1.0 through 1.1.6Affected
  • 1.0.0 through 1.0.7Affected
FortiRecorderFortinet
  • 6.4.0 through 6.4.2Affected
  • 6.0.0 through 6.0.10Affected
  • 2.7.0 through 2.7.7Affected
  • 2.6.0 through 2.6.3Affected
FortiPortalFortinet
  • 6.0.0 through 6.0.10Affected
  • 5.3.0 through 5.3.8Affected
  • 5.2.0 through 5.2.6Affected
  • 5.1.0 through 5.1.2Affected
  • 5.0.0 through 5.0.3Affected
FortiMailFortinet
  • 7.0.0 through 7.0.2Affected
  • 6.4.0 through 6.4.6Affected
  • 6.2.0 through 6.2.7Affected
  • 6.0.0 through 6.0.12Affected
  • 5.4.0 through 5.4.12Affected
FortiAnalyzerFortinet
  • 7.0.0 through 7.0.2Affected
  • 6.4.0 through 6.4.7Affected
  • 6.2.0 through 6.2.13Affected
  • 6.0.0 through 6.0.12Affected
FortiNDRFortinet
  • 1.5.0 through 1.5.2Affected
  • 1.4.0Affected
  • 1.3.0 through 1.3.1Affected
  • 1.2.0Affected
  • 1.1.0Affected
FortiDDoSFortinet
  • 5.5.0 through 5.5.1Affected
  • 5.4.0 through 5.4.3Affected
  • 5.3.0 through 5.3.2Affected
  • 5.2.0Affected
  • 5.1.0Affected
  • 5.0.0Affected
  • 4.7.0Affected
  • 4.6.0Affected
  • 4.5.0Affected
  • 4.4.0 through 4.4.2Affected
FortiSwitchFortinet
  • 7.0.0 through 7.0.3Affected
  • 6.4.0 through 6.4.9Affected
  • 6.2.0 through 6.2.7Affected
  • 6.0.0 through 6.0.7Affected
FortiADCFortinet
  • 6.2.0 through 6.2.2Affected
  • 6.1.0 through 6.1.5Affected
  • 6.0.0 through 6.0.4Affected
  • 5.4.0 through 5.4.5Affected
  • 5.3.0 through 5.3.7Affected
  • 5.2.0 through 5.2.8Affected
  • 5.1.0 through 5.1.7Affected
  • 5.0.0 through 5.0.4Affected
FortiWebFortinet
  • 6.4.0 through 6.4.1Affected
  • 6.3.0 through 6.3.16Affected
  • 6.2.0 through 6.2.8Affected
  • 6.1.0 through 6.1.4Affected
  • 6.0.0 through 6.0.8Affected
  • 5.9.0 through 5.9.2Affected
  • 5.8.5 through 5.8.7Affected
  • 5.8.0 through 5.8.3Affected
  • 5.7.0 through 5.7.3Affected
  • 5.6.0 through 5.6.2Affected
  • 5.5.0 through 5.5.7Affected
  • 5.4.0 through 5.4.1Affected
  • 5.3.0 through 5.3.9Affected
  • 5.2.0 through 5.2.4Affected
  • 5.1.0 through 5.1.4Affected
  • 5.0.0 through 5.0.6Affected
FortiManagerFortinet
  • 7.0.0 through 7.0.2Affected
  • 6.4.0 through 6.4.7Affected
  • 6.2.0 through 6.2.13Affected
  • 6.0.0 through 6.0.12Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.