CVE-2024-21758

CVE-2024-21758 is a medium-severity vulnerability in Fortinet Fortiweb with a CVSS 3.x base score of 6.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-121.

Key facts

Description

A stack-based buffer overflow in Fortinet FortiWeb versions 7.2.0 through 7.2.7, and 7.4.0 through 7.4.1 may allow a privileged user to execute arbitrary code via specially crafted CLI commands, provided the user is able to evade FortiWeb stack protections.

Frequently asked questions

What is CVE-2024-21758?
A stack-based buffer overflow in Fortinet FortiWeb versions 7.2.0 through 7.2.7, and 7.4.0 through 7.4.1 may allow a privileged user to execute arbitrary code via specially crafted CLI commands, provided the user is able to evade FortiWeb stack protections.
How severe is CVE-2024-21758?
CVE-2024-21758 has a CVSS 3.x base score of 6.4, rated medium severity. It is exploitable over local access with high attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2024-21758 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (12th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-21758?
CVE-2024-21758 affects Fortinet Fortiweb. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-21758?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2024-21758 have an EU (EUVD) identifier?
Yes. CVE-2024-21758 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-19372.
When was CVE-2024-21758 published?
CVE-2024-21758 was published on 2025-01-14 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Fortinet Fortiweb

All CVEs affecting Fortinet Fortiweb →

Other CWE-121 (Stack-based Buffer Overflow) vulnerabilities

Browse all CWE-121 (Stack-based Buffer Overflow) vulnerabilities →