{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-20789 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-20789 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-20789 is a medium-severity path traversal vulnerability in Cisco Unified Communications Manager, published on 21 Apr 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-20789 and fix it if it is affected.\n\nWhat it is: CVE-2022-20789 is a medium-severity path traversal vulnerability in Cisco Unified Communications Manager, published on 21 Apr 2022. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-20789 in the wild and no public exploit code.\n\nAffected product: Cisco Unified Communications Manager. 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-20789/ (Markdown: https://insights.sbomify.com/CVE-2022-20789/index.md)","id":"CVE-2022-20789","markdown":"https://insights.sbomify.com/CVE-2022-20789/index.md","name":"CVE-2022-20789","record":{"aliases":["GHSA-8rhg-6qwg-6c3v"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Unified Communications Manager","requires_auth":"high_privilege","summary":"Authenticated attackers can write arbitrary files with root privileges during system upgrades, potentially leading to code execution or privilege escalation.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisco","cpe":[{"product":"unified_communications_manager","vendor":"cisco"}],"cvss":{"score":4.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-610","name":"Externally Controlled Reference to a Resource in Another Sphere"},{"id":"CWE-73","name":"External Control of File Name or Path"}],"description":"A vulnerability in the software upgrade process of Cisco Unified Communications Manager (Unified CM) and Cisco Unified Communications Manager Session Management Edition (Unified CM SME) could allow an authenticated, remote attacker to write arbitrary files on the affected system. This vulnerability is due to improper restrictions applied to a system script. An attacker could exploit this vulnerability by using crafted variables during the execution of a system upgrade. A successful exploit could allow the attacker to overwrite or append arbitrary data to system files using root-level 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 Unified Communications Products Arbitrary File Write Vulnerability","id":"CVE-2022-20789","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"cisco:unified_communications_manager","products":["cisco:unified_communications_manager"],"type":"path_traversal","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Cisco Unified Communications Products Arbitrary File Read Vulnerability","id":"CVE-2022-20790"},"packages":[],"prev":{"headline":"Cisco Unified Communications Products Cross-Site Scripting Vulnerability","id":"CVE-2022-20788"},"products":["Cisco Unified Communications Manager"],"published":"2022-04-21","related":[{"cvss_score":8.6,"headline":"Cisco Unified Communications Manager Server-Side Request Forgery (SSRF)","id":"CVE-2026-20230","kev_date_added":"2026-06-25","published":"2026-06-03"},{"cvss_score":8.2,"headline":"Cisco Unified Communications Products Code Injection","id":"CVE-2026-20045","kev_date_added":"2026-01-21","published":"2026-01-21"},{"cvss_score":10,"headline":"Cisco Unified Communications Manager Static SSH Credentials Vulnerability","id":"CVE-2025-20309","kev_date_added":null,"published":"2025-07-02"},{"cvss_score":10,"headline":"Information disclosure in n/a","id":"CVE-2011-1643","kev_date_added":null,"published":"2011-08-29"},{"cvss_score":9.9,"headline":"Deserialization in Cisco Packaged Contact Center Enterprise","id":"CVE-2024-20253","kev_date_added":null,"published":"2024-01-26"},{"cvss_score":9,"headline":"Information disclosure in n/a","id":"CVE-2009-0632","kev_date_added":null,"published":"2009-03-12"},{"cvss_score":8.8,"headline":"SQL injection in Cisco Unified Communications Manager","id":"CVE-2017-6757","kev_date_added":null,"published":"2017-08-07"}],"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-11-06","vendors":["Cisco"]},"summary":"Authenticated attackers can write arbitrary files with root privileges during system upgrades, potentially leading to code execution or privilege escalation.","url":"https://insights.sbomify.com/CVE-2022-20789/"}