{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-37936 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-37936 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-37936 is a critical vulnerability in Fortinet FortiSwitch, published on 14 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-37936 and fix it if it is affected.\n\nWhat it is: CVE-2023-37936 is a critical vulnerability in Fortinet FortiSwitch, published on 14 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-37936 in the wild and no public exploit code.\n\nAffected product: Fortinet FortiSwitch. 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-2023-37936/ (Markdown: https://insights.sbomify.com/CVE-2023-37936/index.md)","id":"CVE-2023-37936","markdown":"https://insights.sbomify.com/CVE-2023-37936/index.md","name":"CVE-2023-37936","record":{"aliases":["GHSA-2q3h-pxc2-8gqg"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Fortinet network switch","requires_auth":"none","summary":"Attackers can execute unauthorized code on FortiSwitch devices by exploiting a hard-coded cryptographic key used in authentication mechanisms.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"fortinet","cpe":[{"product":"fortiswitch","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:F/RL:X/RC:C","version":"3.1"},"cwes":[{"id":"CWE-798","name":"Use of Hard-coded Credentials"},{"id":"CWE-321","name":"Use of Hard-coded Cryptographic Key"}],"description":"A use of hard-coded cryptographic key in Fortinet FortiSwitch version 7.4.0 and 7.2.0 through 7.2.5 and 7.0.0 through 7.0.7 and 6.4.0 through 6.4.13 and 6.2.0 through 6.2.7 and 6.0.0 through 6.0.7 allows attacker to execute unauthorized code or commands via crafted requests.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Hardcoded credentials in FortiSwitch","id":"CVE-2023-37936","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"hardcoded_credentials","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Command injection in FortiSwitch","id":"CVE-2023-37937"},"packages":[],"prev":{"headline":"Information disclosure in FortiOS","id":"CVE-2023-37935"},"products":["FortiSwitch"],"published":"2025-01-14","related":[{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2016-4573","kev_date_added":null,"published":"2016-09-09"},{"cvss_score":9.3,"headline":"Auth bypass in FortiSwitch","id":"CVE-2024-48887","kev_date_added":null,"published":"2025-04-08"},{"cvss_score":7.6,"headline":"Command injection in FortiSwitch","id":"CVE-2023-37937","kev_date_added":null,"published":"2025-01-14"},{"cvss_score":6.5,"headline":"Denial of service in Fortinet FortiSwitch","id":"CVE-2021-26111","kev_date_added":null,"published":"2021-06-01"}],"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":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-01-14","vendors":["Fortinet"]},"summary":"Attackers can execute unauthorized code on FortiSwitch devices by exploiting a hard-coded cryptographic key used in authentication mechanisms.","url":"https://insights.sbomify.com/CVE-2023-37936/"}