{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-42470 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-42470 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-42470 is a high-severity path traversal vulnerability in Fortinet Forticlient, published on 11 Apr 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-42470 and fix it if it is affected.\n\nWhat it is: CVE-2022-42470 is a high-severity path traversal vulnerability in Fortinet Forticlient, published on 11 Apr 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-42470 in the wild and no public exploit code.\n\nAffected product: Fortinet Forticlient. 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-42470/ (Markdown: https://insights.sbomify.com/CVE-2022-42470/index.md)","id":"CVE-2022-42470","markdown":"https://insights.sbomify.com/CVE-2022-42470/index.md","name":"CVE-2022-42470","record":{"aliases":["GHSA-hm2r-jq47-7576"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"FortiClient Windows","requires_auth":"low_privilege","summary":"An attacker can execute unauthorized code on FortiClient for Windows by exploiting a relative path traversal vulnerability via a crafted named pipe request.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"fortinet","cpe":[{"product":"forticlient","vendor":"fortinet"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:R","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-23","name":"Relative Path Traversal"}],"description":"A relative path traversal vulnerability in Fortinet FortiClient (Windows) 7.0.0 - 7.0.7, 6.4.0 - 6.4.9, 6.2.0 - 6.2.9 and 6.0.0 - 6.0.10 allows an attacker to execute unauthorized code or commands via sending a crafted request to a specific named pipe.","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":"Path traversal in FortiClientWindows","id":"CVE-2022-42470","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fortinet:forticlient","products":["fortinet:forticlient"],"type":"path_traversal","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Other in FortiWeb","id":"CVE-2022-42471"},"packages":[],"prev":{"headline":"Security feature bypass in FortiOS","id":"CVE-2022-42469"},"products":["FortiClientWindows"],"published":"2023-04-11","related":[{"cvss_score":9.8,"headline":"Privilege escalation in Fortinet FortiClientWindows","id":"CVE-2019-17658","kev_date_added":null,"published":"2020-03-12"},{"cvss_score":9.4,"headline":"Code injection in FortiClientLinux","id":"CVE-2023-45590","kev_date_added":null,"published":"2024-04-09"},{"cvss_score":8.8,"headline":"Information disclosure in FortiClient SSLVPN Client for Linux","id":"CVE-2017-14184","kev_date_added":null,"published":"2017-12-15"},{"cvss_score":8.8,"headline":"Privilege escalation in Fortinet FortiClient","id":"CVE-2016-8493","kev_date_added":null,"published":"2017-06-26"},{"cvss_score":8.6,"headline":"Privilege escalation in FortiClientLinux","id":"CVE-2020-15934","kev_date_added":null,"published":"2024-12-19"},{"cvss_score":8.6,"headline":"Path traversal in FortiClientWindows","id":"CVE-2019-5589","kev_date_added":null,"published":"2019-05-28"},{"cvss_score":8.4,"headline":"Privilege escalation in Fortinet FortiClientWindows","id":"CVE-2021-43066","kev_date_added":null,"published":"2022-05-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":"total"},"state":"PUBLISHED","updated":"2024-10-23","vendors":["Fortinet"]},"summary":"An attacker can execute unauthorized code on FortiClient for Windows by exploiting a relative path traversal vulnerability via a crafted named pipe request.","url":"https://insights.sbomify.com/CVE-2022-42470/"}