CVE-2022-4170 Code injection in rxvt-unicode
Attackers can execute arbitrary code via the Perl background extension if they control terminal data and specific options are enabled.
- 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-4170?
CVE-2022-4170 is a critical code injection vulnerability in Fedoraproject Extra Packages for Enterprise Linux, published on 9 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The rxvt-unicode package is vulnerable to a remote code execution, in the Perl background extension, when an attacker can control the data written to the user's terminal and certain options are set.
Weakness: CWE-74
Which versions are affected by CVE-2022-4170?
It affects 3 products.
Linux distribution packages (5)
rxvt-unicode SUSE:Package Hub 15 SP4 | All versions | 9.31-bp155.3.3.1 |
rxvt-unicode SUSE:Package Hub 15 SP5 | All versions | 9.31-bp155.3.3.1 |
rxvt-unicode openSUSE:Leap 15.4 | All versions | 9.31-bp155.3.3.1 |
rxvt-unicode openSUSE:Leap 15.5 | All versions | 9.31-bp155.3.3.1 |
rxvt-unicode openSUSE:Tumbleweed | All versions | 9.31-1.1 |
Products include Fedoraproject Extra Packages for Enterprise Linux, Fedoraproject Fedora, Rxvt-Unicode Project Rxvt-Unicode.
How do I fix CVE-2022-4170?
Apply the vendor's patch.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2022-4170 being exploited?
There is no known exploitation of CVE-2022-4170 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Extra Packages for Enterprise Linux
- CVE-2023-34152 Command injection in ImageMagick
- CVE-2022-40315 Moodle Minor SQL injection risk in admin user browsing
- CVE-2022-45152 Moodle blind Server-Side Request Forgery (SSRF) vulnerability in LTI provider library
- CVE-2022-24882 Server side NTLM does not properly check parameters in FreeRDP
- CVE-2022-2158 Use after free in Chrome
All Fedoraproject Extra Packages for Enterprise Linux vulnerabilities
Sources
Also known as DEBIAN-CVE-2022-4170, GHSA-v3h7-vj8g-6x3r, MGASA-2022-0459, UBUNTU-CVE-2022-4170, openSUSE-SU-2023:0306-1, openSUSE-SU-2024:13323-1.