Memory corruption in xterm - CVE-2021-27135

 

Memory corruption in xterm - CVE-2021-27135

Published: February 18, 2021


Vulnerability identifier: #VU50810
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-27135
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error when processing UTF-8 character sequences. A remote attacker can pass specially crafted data to the application, trigger memory corruption and perform a denial of service (DoS) attack.


Affected software

xterm
Gentoo Linux
Amazon Linux AMI
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
CentOS
HPE Helion Openstack
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
SUSE Linux Enterprise Debuginfo
SUSE Linux Enterprise Point of Sale
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
Slackware Linux
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Basesystem
Ubuntu
openEuler
Fedora
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
xterm
xterm-debuginfo
xterm-debugsource
xterm (Red Hat package)
xterm (Ubuntu package)
xterm-bin-debuginfo
xterm-bin
xterm-help
x11-terms/xterm

How to mitigate CVE-2021-27135

Install updates from vendor's website.

xterm - update to 366
xterm - addressed in versions 238-3.3.1, 308-5.3.1, 330-4.3.1, 330-11.3.1
xterm-debuginfo - addressed in versions 238-3.3.1, 308-5.3.1
xterm-debugsource - addressed in versions 238-3.3.1, 308-5.3.1, 330-4.3.1, 330-11.3.1
xterm (Red Hat package) - addressed in versions 295-3.el7_9.1, 331-1.el8_1.1, 331-1.el8_2.1, 331-1.el8_3.2
xterm (Ubuntu package) - addressed in versions 322-1ubuntu1.2, 330-1ubuntu2.2, 353-1ubuntu1.20.04.2, 353-1ubuntu1.20.10.2
xterm-bin-debuginfo - addressed in versions 330-4.3.1, 330-11.3.1
xterm-bin - addressed in versions 330-4.3.1, 330-11.3.1
xterm - update to 334-7
xterm-debuginfo - update to 334-7
xterm-debugsource - update to 334-7
xterm-help - update to 334-7
xterm - update to 366-1.fc33
x11-terms/xterm - update to 371

External References

Related Security Bulletins