{"answers":{"affected":"It affects 12 products.","exploited":"There is no known exploitation of CVE-2022-20865 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-20865 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-20865 is a medium-severity command injection vulnerability in Cisco Firepower Extensible Operating System (FXOS), published on 25 Aug 2022. 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-20865 and fix it if it is affected.\n\nWhat it is: CVE-2022-20865 is a medium-severity command injection vulnerability in Cisco Firepower Extensible Operating System (FXOS), published on 25 Aug 2022. 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-20865 in the wild and no public exploit code.\n\nAffected product: Cisco Firepower Extensible Operating System (FXOS). 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-20865/ (Markdown: https://insights.sbomify.com/CVE-2022-20865/index.md)","id":"CVE-2022-20865","markdown":"https://insights.sbomify.com/CVE-2022-20865/index.md","name":"CVE-2022-20865","record":{"aliases":["GHSA-9766-m25j-vj6w"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Cisco FXOS","requires_auth":"high_privilege","summary":"An authenticated local attacker with Administrator privileges can inject arbitrary commands to execute code with root privileges on Cisco FXOS devices.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisco","cpe":[{"product":"firepower_4110_firmware","vendor":"cisco"},{"product":"firepower_4112_firmware","vendor":"cisco"},{"product":"firepower_4115_firmware","vendor":"cisco"},{"product":"firepower_4120_firmware","vendor":"cisco"},{"product":"firepower_4125_firmware","vendor":"cisco"},{"product":"firepower_4140_firmware","vendor":"cisco"},{"product":"firepower_4145_firmware","vendor":"cisco"},{"product":"firepower_4150_firmware","vendor":"cisco"},{"product":"firepower_9300_sm-40_firmware","vendor":"cisco"},{"product":"firepower_9300_sm-48_firmware","vendor":"cisco"},{"product":"firepower_9300_sm-56_firmware","vendor":"cisco"},{"product":"firepower_9300_sm-56_x_3_firmware","vendor":"cisco"}],"cvss":{"score":6.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"A vulnerability in the CLI of Cisco FXOS Software could allow an authenticated, local attacker to inject arbitrary commands that are executed with root privileges. The attacker would need to have Administrator privileges on the device. This vulnerability is due to insufficient input validation of commands supplied by the user. An attacker could exploit this vulnerability by authenticating to a device and submitting crafted input to the affected command. A successful exploit could allow the attacker to execute commands on the underlying operating system with root privileges.","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":"Cisco FXOS Software Command Injection Vulnerability","id":"CVE-2022-20865","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Cisco Adaptive Security Appliance Software and Firepower Threat Defense Software RSA Private Key Leak Vulnerability","id":"CVE-2022-20866"},"packages":[],"prev":{"headline":"Cisco IOS XE ROM Monitor Software for Catalyst Switches Information Disclosure Vulnerability","id":"CVE-2022-20864"},"products":["Cisco Firepower Extensible Operating System (FXOS)"],"published":"2022-08-25","related":[{"cvss_score":8.2,"headline":"Cisco Firepower Threat Defense Software Multi-instance Container Escape Vulnerabilities","id":"CVE-2019-12674","kev_date_added":null,"published":"2019-10-02"},{"cvss_score":8.2,"headline":"Cisco Firepower Threat Defense Software Multi-instance Container Escape Vulnerabilities","id":"CVE-2019-12675","kev_date_added":null,"published":"2019-10-02"}],"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-11-06","vendors":["Cisco"]},"summary":"An authenticated local attacker with Administrator privileges can inject arbitrary commands to execute code with root privileges on Cisco FXOS devices.","url":"https://insights.sbomify.com/CVE-2022-20865/"}