Buffer overflow in xterm - CVE-2022-24130
Published: November 11, 2022
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error when processing texts, when Sixel support is enabled. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Desktop
openSUSE Leap
openEuler
Fedora
xterm-debuginfo
xterm-debugsource
xterm
xterm-bin
xterm-bin-debuginfo
xterm-help
xterm (Red Hat package)
x11-terms/xterm
How to mitigate CVE-2022-24130
xterm-debuginfo - update to 308-5.6.1
xterm-debugsource - addressed in versions 308-5.6.1, 330-150200.11.6.1
xterm - addressed in versions 308-5.6.1, 330-150200.11.6.1
xterm-bin - update to 330-150200.11.6.1
xterm-bin-debuginfo - update to 330-150200.11.6.1
xterm-debuginfo - addressed in versions 334-6, 363-4
xterm-debugsource - addressed in versions 334-6, 363-4
xterm-help - addressed in versions 334-6, 363-4
xterm - addressed in versions 334-6, 363-4
xterm (Red Hat package) - update to 366-12.el9_6
xterm - addressed in versions 370-3.fc34, 370-3.fc35
x11-terms/xterm - update to 371
External References
- https://invisible-island.net/xterm/xterm.log.html
- https://www.openwall.com/lists/oss-security/2022/01/30/2
- https://www.openwall.com/lists/oss-security/2022/01/30/3
- https://twitter.com/nickblack/status/1487731459398025216
- https://lists.debian.org/debian-lts-announce/2022/02/msg00007.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BP5Y4O7WBNLV24D22E6LE7RQFYOUVD2U/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T4CWYYEBT6AJRJBBQU2KLUOQDHRM7WAV/
- https://security.gentoo.org/glsa/202208-22