{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-35847 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-35847 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-35847 is a medium-severity code injection vulnerability in Fortinet FortiSOAR, published on 6 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-35847 and fix it if it is affected.\n\nWhat it is: CVE-2022-35847 is a medium-severity code injection vulnerability in Fortinet FortiSOAR, published on 6 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-35847 in the wild and no public exploit code.\n\nAffected product: Fortinet FortiSOAR. 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-2022-35847/ (Markdown: https://insights.sbomify.com/CVE-2022-35847/index.md)","id":"CVE-2022-35847","markdown":"https://insights.sbomify.com/CVE-2022-35847/index.md","name":"CVE-2022-35847","record":{"aliases":["GHSA-2359-j2hg-349m"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"FortiSOAR security orchestration","requires_auth":"low_privilege","summary":"Authenticated attackers can execute arbitrary code via crafted payloads in the FortiSOAR management interface template engine.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"fortinet","cpe":[{"product":"fortisoar","vendor":"fortinet"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:F/RL:U/RC:R","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"An improper neutralization of special elements used in a template engine vulnerability [CWE-1336] in FortiSOAR management interface 7.2.0, 7.0.0 through 7.0.3, 6.4.0 through 6.4.4 may allow a remote and authenticated attacker to execute arbitrary code via a crafted payload.","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":"Code injection in Fortinet FortiSOAR","id":"CVE-2022-35847","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Command injection in FortiADC","id":"CVE-2022-35849"},"packages":[],"prev":{"headline":"Auth bypass in Fortinet FortiTester","id":"CVE-2022-35846"},"products":["Fortinet FortiSOAR"],"published":"2022-09-06","related":[{"cvss_score":8.3,"headline":"Code injection in FortiSOAR","id":"CVE-2024-47572","kev_date_added":null,"published":"2025-01-14"},{"cvss_score":7.7,"headline":"Code injection in FortiSOAR","id":"CVE-2024-21760","kev_date_added":null,"published":"2025-03-18"},{"cvss_score":7.5,"headline":"Missing authorization in FortiSOAR","id":"CVE-2023-25605","kev_date_added":null,"published":"2023-03-07"},{"cvss_score":7.5,"headline":"Missing authorization in Fortinet FortiSOAR","id":"CVE-2022-23443","kev_date_added":null,"published":"2022-05-04"},{"cvss_score":7.2,"headline":"Code injection in FortiSOAR","id":"CVE-2023-27995","kev_date_added":null,"published":"2023-04-11"},{"cvss_score":7.2,"headline":"Command injection in Fortinet FortiSOAR","id":"CVE-2022-29061","kev_date_added":null,"published":"2022-09-09"},{"cvss_score":7.1,"headline":"Missing authorization in FortiSOAR","id":"CVE-2024-45327","kev_date_added":null,"published":"2024-09-11"}],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-22","vendors":["Fortinet"]},"summary":"Authenticated attackers can execute arbitrary code via crafted payloads in the FortiSOAR management interface template engine.","url":"https://insights.sbomify.com/CVE-2022-35847/"}