Improper Neutralization of Special Elements in Output Used by a Downstream Component in rxvt-unicode - CVE-2022-4170

 

Improper Neutralization of Special Elements in Output Used by a Downstream Component in rxvt-unicode - CVE-2022-4170

Published: January 4, 2023


Vulnerability identifier: #VU70670
CSH Severity: Medium
CVSS v4: 7.4 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-4170
CWE-ID: CWE-74
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to improper input validation in the Perl background extension. A remote attacker can pass specially crafted input to the application and execute arbitrary commands in the victim's terminal when certain configuration is used.


Affected software

rxvt-unicode
Gentoo Linux
Fedora
Slackware Linux
libptytty
rxvt-unicode
x11-terms/rxvt-unicode

How to mitigate CVE-2022-4170

Install updates from vendor's website.

rxvt-unicode - update to 9.30
libptytty - addressed in versions 2.0-2.el8, 2.0-4.el7
rxvt-unicode - update to 9.26
x11-terms/rxvt-unicode - update to 9.30
rxvt-unicode - addressed in versions 9.30-1.el7, 9.30-2.el7, 9.30-3.el8, 9.31-1.el7

External References

Related Security Bulletins