{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-45063 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2022-45063 is a critical command injection vulnerability in Fedoraproject Fedora, published on 10 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-45063 and fix it if it is affected.\n\nWhat it is: CVE-2022-45063 is a critical command injection vulnerability in Fedoraproject Fedora, published on 10 Nov 2022. 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-2022-45063 in the wild and no public exploit code.\n\nAffected product: Fedoraproject Fedora. 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-45063/ (Markdown: https://insights.sbomify.com/CVE-2022-45063/index.md)","id":"CVE-2022-45063","markdown":"https://insights.sbomify.com/CVE-2022-45063/index.md","name":"CVE-2022-45063","record":{"aliases":["ALSA-2025:7427","AZL-11429","CLSA-2022-1669236294","CLSA-2022-1669237302","CLSA-2022-1669238963","CLSA-2022-1669239895","CLSA-2022-1669242003","CLSA-2026-1777030519","DEBIAN-CVE-2022-45063","GHSA-3cch-wj7f-8g8x","MGASA-2022-0441","OESA-2024-2236","OESA-2024-2237","OESA-2024-2238","OESA-2024-2239","RHSA-2025:7427","RLSA-2025:7427","SUSE-SU-2023:0173-1","SUSE-SU-2023:0221-1","SUSE-SU-2023:0582-1","UBUNTU-CVE-2022-45063","openSUSE-SU-2024:12505-1"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"xterm terminal emulator","requires_auth":"none","summary":"Attackers can execute arbitrary commands via malicious OSC 50 responses in xterm when font operations are enabled, requiring user interaction in Zsh.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"xterm","vendor":"invisible-island"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"xterm before 375 allows code execution via font ops, e.g., because an OSC 50 response may have Ctrl-g and therefore lead to command execution within the vi line-editing mode of Zsh. NOTE: font ops are not allowed in the xterm default configurations of some Linux distributions.","ecosystems":["AlmaLinux:9","Red Hat:enterprise_linux:9::appstream","Rocky Linux:9","SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Real Time 15 SP3","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP4-ESPOS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Manager Proxy 4.2","SUSE:Manager Retail Branch Server 4.2","SUSE:Manager Server 4.2","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.4","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Command injection in n/a","id":"CVE-2022-45063","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"command_injection","year":"2022"},"n_packages":36,"n_references":11,"next":{"headline":"Apache Sling Engine: Include-based XSS","id":"CVE-2022-45064"},"packages":[{"ecosystem":"AlmaLinux:9","fixed":["366-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/almalinux/xterm","source":"ALSA-2025:7427"},{"ecosystem":"AlmaLinux:9","fixed":["366-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"xterm-resize","purl":"pkg:rpm/almalinux/xterm-resize","source":"ALSA-2025:7427"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:366-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/redhat/xterm","source":"RHSA-2025:7427"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:366-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"xterm-debuginfo","purl":"pkg:rpm/redhat/xterm-debuginfo","source":"RHSA-2025:7427"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:366-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"xterm-debugsource","purl":"pkg:rpm/redhat/xterm-debugsource","source":"RHSA-2025:7427"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:366-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"xterm-resize","purl":"pkg:rpm/redhat/xterm-resize","source":"RHSA-2025:7427"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:366-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"xterm-resize-debuginfo","purl":"pkg:rpm/redhat/xterm-resize-debuginfo","source":"RHSA-2025:7427"},{"ecosystem":"Rocky Linux:9","fixed":["0:366-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/rocky-linux/xterm?distro=rocky-linux-9-6\u0026epoch=0","source":"RLSA-2025:7427"},{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["330-150000.4.6.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2023:0173-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["330-150200.11.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2023:0221-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["330-150200.11.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:0221-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["330-150000.4.6.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:0173-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["330-150200.11.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:0221-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["330-150200.11.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:0221-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["330-150200.11.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:0221-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["330-150200.11.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2023:0221-1"},{"ecosystem":"SUSE:Linux Enterprise Real Time 15 SP3","fixed":["330-150200.11.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3","source":"SUSE-SU-2023:0221-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["308-5.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2023:0582-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-ESPOS","fixed":["308-5.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-ESPOS","source":"SUSE-SU-2023:0582-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","fixed":["308-5.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSS","source":"SUSE-SU-2023:0582-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["308-5.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:0582-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["330-150000.4.6.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2023:0173-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["330-150200.11.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2023:0221-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["330-150200.11.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2023:0221-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["308-5.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2023:0582-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["308-5.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2023:0582-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["330-150000.4.6.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2023:0173-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["330-150200.11.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2023:0221-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["330-150200.11.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2023:0221-1"},{"ecosystem":"SUSE:Manager Proxy 4.2","fixed":["330-150200.11.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Manager%20Proxy%204.2","source":"SUSE-SU-2023:0221-1"},{"ecosystem":"SUSE:Manager Retail Branch Server 4.2","fixed":["330-150200.11.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Manager%20Retail%20Branch%20Server%204.2","source":"SUSE-SU-2023:0221-1"},{"ecosystem":"SUSE:Manager Server 4.2","fixed":["330-150200.11.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20Manager%20Server%204.2","source":"SUSE-SU-2023:0221-1"},{"ecosystem":"SUSE:OpenStack Cloud 9","fixed":["308-5.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20OpenStack%20Cloud%209","source":"SUSE-SU-2023:0582-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 9","fixed":["308-5.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/suse/xterm\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%209","source":"SUSE-SU-2023:0582-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["330-150200.11.9.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/opensuse/xterm\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:0221-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["375-2.1"],"introduced":["0"],"last_affected":[],"package":"xterm","purl":"pkg:rpm/opensuse/xterm\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12505-1"}],"prev":{"headline":"Command injection in n/a","id":"CVE-2022-45062"},"products":["n/a"],"published":"2022-11-10","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"2026-04-08","vendors":["n/a"]},"summary":"Attackers can execute arbitrary commands via malicious OSC 50 responses in xterm when font operations are enabled, requiring user interaction in Zsh.","url":"https://insights.sbomify.com/CVE-2022-45063/"}