CVE-2022-45063 Command injection in n/a
Attackers can execute arbitrary commands via malicious OSC 50 responses in xterm when font operations are enabled, requiring user interaction in Zsh.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-45063?
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.
Official 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.
Weakness: CWE-77
Which versions are affected by CVE-2022-45063?
It affects 2 products.
Linux distribution packages (36)
xterm AlmaLinux:9 | All versions | 366-10.el9_6 |
xterm-resize AlmaLinux:9 | All versions | 366-10.el9_6 |
xterm Red Hat:enterprise_linux:9::appstream | All versions | 0:366-10.el9_6 |
xterm-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:366-10.el9_6 |
xterm-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 0:366-10.el9_6 |
xterm-resize Red Hat:enterprise_linux:9::appstream | All versions | 0:366-10.el9_6 |
xterm-resize-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:366-10.el9_6 |
xterm Rocky Linux:9 | All versions | 0:366-10.el9_6 |
xterm SUSE:Enterprise Storage 6 | All versions | 330-150000.4.6.1 |
xterm SUSE:Enterprise Storage 7 | All versions | 330-150200.11.9.1 |
xterm SUSE:Enterprise Storage 7.1 | All versions | 330-150200.11.9.1 |
xterm SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 330-150000.4.6.1 |
xterm SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 330-150200.11.9.1 |
xterm SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | All versions | 330-150200.11.9.1 |
xterm SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 330-150200.11.9.1 |
xterm SUSE:Linux Enterprise Module for Basesystem 15 SP4 | All versions | 330-150200.11.9.1 |
xterm SUSE:Linux Enterprise Real Time 15 SP3 | All versions | 330-150200.11.9.1 |
xterm SUSE:Linux Enterprise Server 12 SP2-BCL | All versions | 308-5.9.1 |
xterm SUSE:Linux Enterprise Server 12 SP4-ESPOS | All versions | 308-5.9.1 |
xterm SUSE:Linux Enterprise Server 12 SP4-LTSS | All versions | 308-5.9.1 |
xterm SUSE:Linux Enterprise Server 12 SP5 | All versions | 308-5.9.1 |
xterm SUSE:Linux Enterprise Server 15 SP1-LTSS | All versions | 330-150000.4.6.1 |
xterm SUSE:Linux Enterprise Server 15 SP2-LTSS | All versions | 330-150200.11.9.1 |
xterm SUSE:Linux Enterprise Server 15 SP3-LTSS | All versions | 330-150200.11.9.1 |
xterm SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | All versions | 308-5.9.1 |
xterm SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 308-5.9.1 |
xterm SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | All versions | 330-150000.4.6.1 |
xterm SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | All versions | 330-150200.11.9.1 |
xterm SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | All versions | 330-150200.11.9.1 |
xterm SUSE:Manager Proxy 4.2 | All versions | 330-150200.11.9.1 |
xterm SUSE:Manager Retail Branch Server 4.2 | All versions | 330-150200.11.9.1 |
xterm SUSE:Manager Server 4.2 | All versions | 330-150200.11.9.1 |
xterm SUSE:OpenStack Cloud 9 | All versions | 308-5.9.1 |
xterm SUSE:OpenStack Cloud Crowbar 9 | All versions | 308-5.9.1 |
xterm openSUSE:Leap 15.4 | All versions | 330-150200.11.9.1 |
xterm openSUSE:Tumbleweed | All versions | 375-2.1 |
Products include Fedoraproject Fedora, Invisible-Island Xterm.
How do I fix CVE-2022-45063?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2022-45063 being exploited?
There is no known exploitation of CVE-2022-45063 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALSA-2025:7427, AZL-11429, CLSA-2022-1669236294, CLSA-2022-1669237302, CLSA-2022-1669238963, CLSA-2022-1669239895 and 16 more.