{"answers":{"affected":"It affects 2 products.","exploited":"Yes. Attackers have exploited CVE-2024-21762 in the wild since at least 9 Feb 2024, including in ransomware campaigns.","fix":"No fix has been published for CVE-2024-21762 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 16 Feb 2024.","what":"CVE-2024-21762 is a critical memory corruption vulnerability in Fortinet Fortios, published on 9 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-21762 and fix it if it is affected.\n\nWhat it is: CVE-2024-21762 is a critical memory corruption vulnerability in Fortinet Fortios, published on 9 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2024-21762 in the wild since at least 9 Feb 2024, including in ransomware campaigns.\n\nAffected product: Fortinet Fortios. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-21762/ (Markdown: https://insights.sbomify.com/CVE-2024-21762/index.md)","id":"CVE-2024-21762","markdown":"https://insights.sbomify.com/CVE-2024-21762/index.md","name":"CVE-2024-21762","record":{"aliases":["GHSA-v4hq-m4wr-6pmj"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Fortinet FortiOS/FortiProxy","requires_auth":"none","summary":"Attackers can execute unauthorized code or commands on Fortinet FortiOS and FortiProxy devices via crafted requests due to an out-of-bounds write vulnerability.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"fortinet","cpe":[{"product":"fortios","vendor":"fortinet"},{"product":"fortiproxy","vendor":"fortinet"}],"cvss":{"score":9.6,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:W/RC:C","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"A out-of-bounds write vulnerability in Fortinet FortiOS 7.4.0 through 7.4.2, FortiOS 7.2.0 through 7.2.6, FortiOS 7.0.0 through 7.0.13, FortiOS 6.4.0 through 6.4.14, FortiOS 6.2.0 through 6.2.15, FortiOS 6.0 all versions, FortiProxy 7.4.0 through 7.4.2, FortiProxy 7.2.0 through 7.2.8, FortiProxy 7.0.0 through 7.0.14, FortiProxy 2.0.0 through 2.0.13, FortiProxy 01.02 all versions, FortiProxy 1.2 all versions, FortiProxy 01.01 all versions, FortiProxy 1.1 all versions, FortiProxy 01.00 all versions allows attacker to execute unauthorized code or commands via specifically crafted requests","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2024-02-28","github_poc":14,"max_poc_stars":150,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-03-13T09:17:28Z","kind":"github_poc","ref":"https://github.com/h4x0r-dz/CVE-2024-21762","stars":150,"title":"out-of-bounds write in Fortinet FortiOS  CVE-2024-21762 vulnerability "},{"date":"2024-02-28T21:16:10Z","kind":"github_poc","ref":"https://github.com/BishopFox/cve-2024-21762-check","stars":107,"title":"Safely detect whether a FortiGate SSL VPN is vulnerable to CVE-2024-21762"},{"date":"2024-03-13T22:57:00Z","kind":"github_poc","ref":"https://github.com/r4p3c4/CVE-2024-21762-Exploit-PoC-Fortinet-SSL-VPN-Check","stars":16,"title":"Chequea si tu firewall es vulnerable a CVE-2024-21762 (RCE sin autenticación)"},{"date":"2024-03-17T09:15:22Z","kind":"github_poc","ref":"https://github.com/d0rb/CVE-2024-21762","stars":12,"title":"The PoC demonstrates the potential for remote code execution by exploiting the identified security flaw."},{"date":"2025-05-22T16:22:37Z","kind":"github_poc","ref":"https://github.com/abrewer251/CVE-2024-21762_FortiNet_PoC","stars":4,"title":"Proof-of-concept scanner targeting CVE-2024-21762 in FortiOS SSL VPN’s /remote/hostcheck_validate endpoint with reverse shell payload delivery."},{"date":"2026-07-31T10:13:19Z","kind":"github_poc","ref":"https://github.com/Vampsecure-Labs/vamp-forticheck","stars":2,"title":"VampSecure Labs: FortiOS CVE scanner (CVE-2018-13379, CVE-2022-40684, CVE-2023-27997, CVE-2024-21762)"},{"date":"2024-06-20T02:58:02Z","kind":"github_poc","ref":"https://github.com/rdoix/cve-2024-21762-checker","stars":1,"title":null},{"date":"2026-09-01T20:04:23Z","kind":"github_poc","ref":"https://github.com/abraxas/Fortigate-SSL-VPN-Exploit-Kit","stars":1,"title":"The FortiGate SSL-VPN pot of gold. CVE-2024-21762 and CVE-2023-27997.  79 working exploit clients. 53 hardware SKUs. 55 FortiOS builds. "}],"tier":"exploited"},"has_fix":null,"headline":"Fortinet FortiOS Out-of-Bound Write","id":"CVE-2024-21762","indexable":true,"kev":{"dateAdded":"2024-02-09","dueDate":"2024-02-16","knownRansomwareCampaignUse":"Known","product":"FortiOS","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","vendorProject":"Fortinet","vulnerabilityName":"Fortinet FortiOS Out-of-Bound Write Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"fortinet:fortios","products":["fortinet:fortios","fortinet:fortiproxy"],"type":"memory_corruption","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"BIG-IP AFM vulnerability","id":"CVE-2024-21763"},"packages":[],"prev":{"headline":"Missing authorization in FortiPortal","id":"CVE-2024-21761"},"products":["FortiOS","FortiProxy"],"published":"2024-02-09","related":[{"cvss_score":9.8,"headline":"Fortinet Multiple Products Format String","id":"CVE-2024-23113","kev_date_added":"2024-10-09","published":"2024-02-15"},{"cvss_score":9.8,"headline":"Fortinet Multiple Products Authentication Bypass","id":"CVE-2022-40684","kev_date_added":"2022-10-11","published":"2022-10-18"},{"cvss_score":9.6,"headline":"Fortinet FortiOS and FortiProxy Authentication Bypass","id":"CVE-2024-55591","kev_date_added":"2025-01-14","published":"2025-01-14"},{"cvss_score":9.3,"headline":"Fortinet FortiOS Heap-Based Buffer Overflow","id":"CVE-2022-42475","kev_date_added":"2022-12-13","published":"2023-01-02"},{"cvss_score":9.2,"headline":"Fortinet FortiOS and FortiProxy SSL-VPN Heap-Based Buffer Overflow","id":"CVE-2023-27997","kev_date_added":"2023-06-13","published":"2023-06-13"},{"cvss_score":9.1,"headline":"Fortinet Multiple Products Improper Verification of Cryptographic Signature","id":"CVE-2025-59718","kev_date_added":"2025-12-16","published":"2025-12-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-22","vendors":["Fortinet"]},"summary":"Attackers can execute unauthorized code or commands on Fortinet FortiOS and FortiProxy devices via crafted requests due to an out-of-bounds write vulnerability.","url":"https://insights.sbomify.com/CVE-2024-21762/"}